diff options
author | Jeff Mahoney <jeffm@suse.com> | 2005-07-27 20:43:38 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-28 01:25:50 +0200 |
commit | b3bb8afd965159f155d4f629cbea158cbcc69275 (patch) | |
tree | fffcb983d26aa1d435ba8e2b788a7aaf0b6efce0 /fs/ext2/ialloc.c | |
parent | [PATCH] as-iosched tunable encoding fix (diff) | |
download | linux-b3bb8afd965159f155d4f629cbea158cbcc69275.tar.xz linux-b3bb8afd965159f155d4f629cbea158cbcc69275.zip |
[PATCH] reiserfs: fix deadlock in inode creation failure path w/ default ACL
reiserfs_new_inode() can call iput() with the xattr lock held. This will
cause a deadlock to occur when reiserfs_delete_xattrs() is called to clean
up.
The following patch releases the lock and reacquires it after the iput.
This is safe because interaction with xattrs is complete, and the relock is
just to balance out the release in the caller.
The locking needs some reworking to be more sane, but that's more intrusive
and I was just looking to fix this bug.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/ext2/ialloc.c')
0 files changed, 0 insertions, 0 deletions