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