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>
Sun, 1 Dec 2013 00:52:42 +0000 (19:52 -0500)
commit62b9359e8d6f40278af914a8bb39662206173a2d
tree84b70c345af0e78686128ecebb4e229cbeb6b2bf
parenta6749c73f0d35c2d2def5d25cf8e20f3834694ff
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