diff options
author | 2008-10-08 23:21:54 -0400 | |
---|---|---|
committer | 2008-10-08 23:21:54 -0400 | |
commit | 4d20c685fa365766a8f13584b4c8178a15ab7103 (patch) | |
tree | 7a2aaf1b27703818d67d1d7cf544dc72455638d1 /fs/jbd2/commit.c | |
parent | jbd2: Fix buffer head leak when writing the commit block (diff) | |
download | wireguard-linux-4d20c685fa365766a8f13584b4c8178a15ab7103.tar.xz wireguard-linux-4d20c685fa365766a8f13584b4c8178a15ab7103.zip |
ext4: fix xattr deadlock
ext4_xattr_set_handle() eventually ends up calling
ext4_mark_inode_dirty() which tries to expand the inode by shifting
the EAs. This leads to the xattr_sem being downed again and leading
to a deadlock.
This patch makes sure that if ext4_xattr_set_handle() is in the
call-chain, ext4_mark_inode_dirty() will not expand the inode.
Signed-off-by: Kalpak Shah <kalpak.shah@sun.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions