]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ocfs2: Push out dropping of dentry lock to ocfs2_wq
authorJan Kara <jack@suse.cz>
Mon, 12 Jan 2009 22:20:31 +0000 (23:20 +0100)
committerMark Fasheh <mfasheh@suse.com>
Mon, 2 Feb 2009 22:20:16 +0000 (14:20 -0800)
commitea455f8ab68338ba69f5d3362b342c115bea8e13
tree17c052011f821ff5897028a27a1f8cba96046b67
parent27421e211a39784694b597dbf35848b88363c248
ocfs2: Push out dropping of dentry lock to ocfs2_wq

Dropping of last reference to dentry lock is a complicated operation involving
dropping of reference to inode. This can get complicated and quota code in
particular needs to obtain some quota locks which leads to potential deadlock.
Thus we defer dropping of inode reference to ocfs2_wq.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/dcache.c
fs/ocfs2/dcache.h
fs/ocfs2/ocfs2.h
fs/ocfs2/super.c