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>
Tue, 11 Nov 2014 02:39:09 +0000 (21:39 -0500)
commit9ada9ebe19bd4ed39ae3a32874bf6dc6e75d9ae6
tree0f0b97c4e03fb21fdc9c2c236d475eeb2f2bb671
parentfb8d0f8ee25f20157122e6d19fd477d9b04751b6
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