Unionfs: find lower inode of unlinked opened files in setattr
authorErez Zadok <ezk@cs.sunysb.edu>
Sat, 30 Apr 2011 05:33:55 +0000 (01:33 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Fri, 12 Aug 2011 02:39:29 +0000 (22:39 -0400)
commitf6c258b153a86b418991d6b757c766135a29c68c
tree5c9963e1fb8e817799bcd1f50f8fcce120efb9df
parentbee20161be817eaa30227343ade8cfcd616797b5
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