From: Mark Fasheh Date: Fri, 20 Jul 2007 18:24:53 +0000 (-0700) Subject: ocfs2: Restrict inode changes in ocfs2_update_inode_atime() X-Git-Tag: v2.6.23-rc3~11^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c11e9fafb398411af7558fca913c2fa4a10b1f48;p=pandora-kernel.git ocfs2: Restrict inode changes in ocfs2_update_inode_atime() ocfs2_update_inode_atime() calls ocfs2_mark_inode_dirty() to push changes from the struct inode into the ocfs2 disk inode. The problem is, ocfs2_mark_inode_dirty() might change other fields, depending on what happened to the struct inode. Since we don't always have locking to serialize changes to other fields (like i_size, etc), just fix things up to only touch the atime field. Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed