From: Tao Ma Date: Thu, 6 Nov 2008 00:10:48 +0000 (+0800) Subject: ocfs2/xattr: Only set buffer update if it doesn't exist in cache. X-Git-Tag: v2.6.29-rc1~505^2~123 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=757055adc5d41b910bdead925060f077dd2d9169;p=pandora-kernel.git ocfs2/xattr: Only set buffer update if it doesn't exist in cache. When we call ocfs2_init_xattr_bucket, we deem that the new buffer head will be written to disk immediately, so we just use sb_getblk. But in some cases the buffer may have already been in ocfs2 uptodate cache, so we only call ocfs2_set_buffer_uptodate if the buffer head isn't in the cache. Signed-off-by: Tao Ma Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed