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 03:52:56 +0000 (22:52 -0500)
commit7495ff6ca65a8fd7bb5d38cf165d873628342dbb
tree2d02b68a8f346984c95cfda6ca36b96d6e0e8bd3
parentb1852d20902ad29109a5cb4caf6a73871744c4db
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