From: Adrian Hunter Date: Mon, 21 Jul 2008 12:39:05 +0000 (+0300) Subject: UBIFS: make ubifs_ro_mode() not inline X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97d3fcaaa3ae793f8eda12542d2a2d7f241eacba;p=pandora-kernel.git 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 Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed