https://bugzilla.novell.com/show_bug.cgi?id=259215 ------- Comment #3 from jeffm@novell.com 2007-04-22 08:31 MST ------- Created an attachment (id=133024) --> (https://bugzilla.novell.com/attachment.cgi?id=133024&action=view) [PATCH] reiserfs: fix xattr locking/refcount BUG This report is actually a BUG() in shrink_dcache_for_umount_subtree() coming from a refcount problem with xattr dentries in reiserfs. The listxattr() and getxattr() operations are only protected by a read lock. As a result, if either of these operations run in parallel, a race condition exists where the xattr_root will end up being cached twice, which results in the leaking of a reference and a BUG() on umount. This patch refactors get_xa_root(), __get_xa_root(), and create_xa_root(), into one get_xa_root() function that takes the appropriate locking around the entire critical section. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.