Unionfs: find lower inode of unlinked opened files in setattr
authorErez Zadok <ezk@cs.sunysb.edu>
Sat, 23 Apr 2011 02:00:11 +0000 (22:00 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Thu, 16 Jun 2011 22:48:41 +0000 (15:48 -0700)
commit2c8948b74281e9f26c46d6e76f4d6bdb71d40afd
treebdbf37e4de9b913bb7974e46811d7587d411b428
parent0b7dbe30c781d44022d43ab515efb04875ceb0a4
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