Unionfs: implement lockdep classes
authorErez Zadok <ezk@cs.sunysb.edu>
Fri, 28 Dec 2007 18:38:09 +0000 (13:38 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Sat, 30 Nov 2013 23:12:12 +0000 (18:12 -0500)
commit43f12645aab4623f3359cadef901421c98ee367b
treed5e8f7e472c44e1c4bdff301240b35503bea82b4
parent5537f50982d8744f5caa1598234d7b45b15c59f6
Unionfs: implement lockdep classes

Lockdep fixes.  Support locking order/classes (e.g., parent -> child ->
whiteout).  Remove locking from create_parents: it's enough to just dget the
dentries in question.  Move parent locking to from lookup_backend to caller,
unionfs_lookup.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
16 files changed:
fs/unionfs/commonfops.c
fs/unionfs/copyup.c
fs/unionfs/dentry.c
fs/unionfs/dirfops.c
fs/unionfs/fanout.h
fs/unionfs/file.c
fs/unionfs/inode.c
fs/unionfs/lookup.c
fs/unionfs/main.c
fs/unionfs/mmap.c
fs/unionfs/rename.c
fs/unionfs/subr.c
fs/unionfs/super.c
fs/unionfs/union.h
fs/unionfs/unlink.c
fs/unionfs/xattr.c