aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2006-04-22 02:36:24 -0700
committerLinus Torvalds <[email protected]>2006-04-22 09:19:53 -0700
commitb9251b823b5e921c894eb135cb6c64abf483f50e (patch)
tree4e2c1c24a80693a6b6d2ee0f5369ab21fef5fc16 /scripts/basic/split-include.c
parent8c4335a87c9785d2102ab23f09393038e1663314 (diff)
[PATCH] Fix reiserfs deadlock
reiserfs_cache_default_acl() should return whether we successfully found the acl or not. We have to return correct value even if reiserfs_get_acl() returns error code and not just 0. Otherwise callers such as reiserfs_mkdir() can unnecessarily lock the xattrs and later functions such as reiserfs_new_inode() fail to notice that we have already taken the lock and try to take it again with obvious consequences. Signed-off-by: Jan Kara <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions