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, 27 Apr 2014 02:27:59 +0000 (22:27 -0400)
commit1606d666962d34da4eb4a7feba20551336fcaaac
treeb461bd16b85d2a38486ebf10e727bfbe965bf1ed
parent09ecf7df5cefa5e83f7a6fac655de67e41a9cb41
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