Unionfs: branch-management related locking fixes
authorErez Zadok <ezk@cs.sunysb.edu>
Wed, 9 Jan 2008 20:26:56 +0000 (15:26 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 13 Jan 2009 02:32:29 +0000 (21:32 -0500)
commit6d93bfe275a50e7dcab593b50baa9c3d6288eb17
tree13a38e9102ed942090f83dd6c7b33982d60b4fcf
parentfe2a8b7f9d91951f72d03cd363b42dd453381d28
Unionfs: branch-management related locking fixes

Add necessary locking to dentry/inode branch-configuration, so we get
consistent values during branch-management actions.  In d_revalidate_chain,
->permission, and ->create, also lock parent dentry.
fs/unionfs/commonfops.c
fs/unionfs/dentry.c
fs/unionfs/inode.c