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>
Tue, 27 Dec 2016 19:04:48 +0000 (14:04 -0500)
commitd79a7937da5c457b58038676fc6b020fbe3ddc5b
treecf2dc50c5e3062973a30134fc0b29dadfa17e00c
parent7da6981545d7470189b6bcc389cbdbe74b95dc03
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