Wrapfs: ->setattr fixes
authorErez Zadok <ezk@cs.sunysb.edu>
Tue, 8 Mar 2011 04:17:49 +0000 (23:17 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Sat, 30 Apr 2011 10:00:50 +0000 (06:00 -0400)
commitf8618d2b2d4b7fe1766ac65068e0c8e0e2ef43c6
treeb89a825105c5f9092a8c56fc5e22273e850911ae
parent287874c46cf39a56cc44373ac8fd64543a92a2f9
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