Wrapfs: ->setattr fixes
authorErez Zadok <ezk@cs.sunysb.edu>
Tue, 8 Mar 2011 04:20:33 +0000 (23:20 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Fri, 18 Mar 2011 03:20:24 +0000 (23:20 -0400)
commit4e1182eaa5104ca46189a9e1787ed24dc85b8b00
treedcb80109d8ac4ca193dd17aad1e75dcfbbd9b8f4
parentf593d974e9c900ec235c728668133eae04c19cc4
Wrapfs: ->setattr fixes

Call inode_change_ok on our inode, not lower.
Don't copy inode sizes (VFS does it).
Pass lower file in struct iattr passed to notify_change on lower inode.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/wrapfs/inode.c