Unionfs: find lower inode of unlinked opened files in setattr
authorErez Zadok <ezk@cs.sunysb.edu>
Tue, 6 Sep 2011 01:20:35 +0000 (21:20 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 6 Sep 2011 01:20:35 +0000 (21:20 -0400)
commitbd5b716ae6dc2cbee01613ef9575c94b6b04816e
tree5ec0f7275ec4729b291b7430116355c29e58f8e9
parent262d38769abb4a86fd0866d0b43ea0b1b0fdab51
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