• J
    ext3: Use bitops to read/modify EXT3_I(inode)->i_state · 9df93939
    Jan Kara 提交于
    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: NJan Kara <jack@suse.cz>
    9df93939
xattr.c 34.6 KB