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>
Sun, 1 Dec 2013 00:53:55 +0000 (19:53 -0500)
commit86650eecea218814b6c4a63172df5292b2bdcbd8
tree4939cbcc6e627ece21b273e29acb873b7c4eaf79
parent4d54a32b75d5d5005a6c970b5d8997b93e57a697
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