Unionfs: find lower inode of unlinked opened files in setattr
authorErez Zadok <ezk@cs.sunysb.edu>
Tue, 6 Sep 2011 01:20:36 +0000 (21:20 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Sun, 23 Feb 2014 19:07:10 +0000 (14:07 -0500)
commitbb249c6c279bc0aa2d22aa17c9ef563c4d036f0f
treeb97fd435bbd3ef11c0c0e41ba9445934d3f487cb
parent43478ca555c0d4e4df322d9b07654f1f3bb87a8d
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