aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext3
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2012-04-24 17:08:41 +0200
committerJan Kara <jack@suse.cz>2012-05-15 23:34:37 +0200
commitd7e9711760a17aef3a94fc6dff4759fa5961de25 (patch)
tree260d71f39f9d876347e53d44467e536e4c09ea90 /fs/ext3
parentjbd: Write journal superblock with WRITE_FUA after checkpointing (diff)
downloadlinux-dev-d7e9711760a17aef3a94fc6dff4759fa5961de25.tar.xz
linux-dev-d7e9711760a17aef3a94fc6dff4759fa5961de25.zip
quota: Fix double lock in add_dquot_ref() with CONFIG_QUOTA_DEBUG
When CONFIG_QUOTA_DEBUG is enabled we call inode_get_rsv_space() from add_dquot_ref() while holding i_lock. But inode_get_rsv_space() is trying to get i_lock as well resulting in double lock. Fix the problem by moving inode_get_rsv_space() call out of i_lock. Reported-and-analyzed-by: Jie Liu <jeff.liu@oracle.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext3')
0 files changed, 0 insertions, 0 deletions