Unionfs: find lower inode of unlinked opened files in setattr
authorErez Zadok <ezk@cs.sunysb.edu>
Wed, 30 Mar 2011 23:22:53 +0000 (19:22 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Wed, 30 Mar 2011 23:22:53 +0000 (19:22 -0400)
commitcc8961e73cde283d1eb568de7a20dacbd93f81be
treef030950c94e818afa1abc64b1798a6c6bbb46f67
parent254f126789b43be252efae2673801cff223bb567
Unionfs: find lower inode of unlinked opened files in setattr

To find the inode of a lower file that's open but unlinked, we cannot find
it via unionfs_lower_inode as that's NULL; but we can get it properly from
lower_dentry->d_inode.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/inode.c