From: Dmitry Monakhov Date: Mon, 17 May 2010 02:00:00 +0000 (-0400) Subject: ext4: Use bitops to read/modify i_flags in struct ext4_inode_info X-Git-Tag: v2.6.35-rc1~39^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12e9b892002d9af057655d35b44db8ee9243b0dc;p=pandora-kernel.git ext4: Use bitops to read/modify i_flags in struct ext4_inode_info At several places we modify EXT4_I(inode)->i_flags without holding i_mutex (ext4_do_update_inode, ...). These modifications are racy and we can lose updates to i_flags. So convert handling of i_flags to use bitops which are atomic. https://bugzilla.kernel.org/show_bug.cgi?id=15792 Signed-off-by: Dmitry Monakhov Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed