commit | ff46d7b3e0870a70331b069372c36fbc43018c2d | [log] [tgz] |
---|---|---|
author | Adrian Hunter <ext-adrian.hunter@nokia.com> | Mon Jul 21 15:39:05 2008 +0300 |
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Wed Aug 13 11:24:26 2008 +0300 |
tree | 8a650ad44c110e2ea3587cf5f8e86137b3bf32dd | |
parent | 2fb42b11f61cbcef7dfc225c1d26c4511436583d [diff] |
UBIFS: make ubifs_ro_mode() not inline We use ubifs_ro_mode() quite a lot, and not in fast-path, so there is no reason to blow the code up by having it inlined. Also, we usually want R/O mode change to be seen to other CPUs as soon as possible, so when we make this a function call, we will automatically have a memory barrier. Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>