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, 24 Nov 2013 18:38:03 +0000 (13:38 -0500)
commit8ae50844d693723a1215180e960a122a2ec822cb
treed05b098a3c7a588e8ec182962b39b0381cfc29e4
parent86783283987253f3fd4e18a9a0f2959236f13993
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