From: Jan Kara Date: Sat, 22 Apr 2006 09:36:24 +0000 (-0700) Subject: [PATCH] Fix reiserfs deadlock X-Git-Tag: v2.6.17-rc3~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9251b823b5e921c894eb135cb6c64abf483f50e;p=pandora-kernel.git [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 Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed