fs/unionfs/: Don't grab dentry private data mutex in unionfs_d_release
authorJosef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
Fri, 23 Feb 2007 06:04:09 +0000 (01:04 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 13 Jan 2009 02:27:15 +0000 (21:27 -0500)
commit25c97b688912897a8dee05beb678a40e2b6888cf
tree8189c23a904e18755ff0ecd909129a5e0011762c
parentf48420148df4eb0e28576bed21dc6818be6c898a
fs/unionfs/: Don't grab dentry private data mutex in unionfs_d_release

Grabbing the UNIONFS_D(dentry)->lock is completely unnecessary and there are
no other references; we are about to free the object anyway. Additionally,
grabbing the mutex produces warning when the slab object is reused - as it
was freed while there still was a reference to it.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
fs/unionfs/dentry.c