aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2010-01-06 20:58:48 +0000
committerJan Kara <[email protected]>2010-03-04 23:20:20 +0000
commit9df93939b735dd273e49cbee290b9f4738500ef4 (patch)
tree2840172239e13d1c0fea496755b8346a9b394336 /fs/jbd/commit.c
parentquota: Cleanup S_NOQUOTA handling (diff)
downloadkernel-9df93939b735dd273e49cbee290b9f4738500ef4.tar.gz
kernel-9df93939b735dd273e49cbee290b9f4738500ef4.zip
ext3: Use bitops to read/modify EXT3_I(inode)->i_state
At several places we modify EXT3_I(inode)->i_state without holding i_mutex (ext3_release_file, ext3_bmap, ext3_journalled_writepage, ext3_do_update_inode, ...). These modifications are racy and we can lose updates to i_state. So convert handling of i_state to use bitops which are atomic. Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions