diff options
author | Jan Kara <jack@suse.cz> | 2006-04-23 17:10:44 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-05-01 12:03:43 -0700 |
commit | 89d4fdf423aa5d02e0d5f79ceba238a35bf23aff (patch) | |
tree | 1833d69afaf69f5417bb12edb2bff67bc8be473b /drivers/char/snsc.c | |
parent | 692c0509fd0719406f8f781d9a9f2e19aa6b7c0a (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 <jack@suse.cz>
Cc: <reiserfs-dev@namesys.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char/snsc.c')
0 files changed, 0 insertions, 0 deletions