Unionfs: branch-management related locking fixes
authorErez Zadok <ezk@cs.sunysb.edu>
Thu, 10 Jan 2008 17:13:32 +0000 (12:13 -0500)
committerRachita Kothiyal <rachita@dewey.fsl.cs.sunysb.edu>
Thu, 1 May 2008 23:03:34 +0000 (19:03 -0400)
commitf5bfec383667fe90ef7551af393d3f57f53e851a
tree87fc3fa085a02a9076896c32533e992b1acb5030
parenta01a8148ad1cdd6e9b63d447ea7bb824a7013c6f
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