Unionfs: find lower inode of unlinked opened files in setattr master_bottom
authorErez Zadok <ezk@cs.sunysb.edu>
Wed, 30 Mar 2011 23:59:42 +0000 (19:59 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Wed, 30 Mar 2011 23:59:42 +0000 (19:59 -0400)
commit9e32b7e2f5b24a4e013f12626975980e6b83b311
tree4adc8e5950d2efb56f6f7edb25c288604a093886
parent8e7f08d4e7529e8b445c9ff52ac98be02e527110
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