Wrapfs: ->setattr fixes
authorErez Zadok <ezk@cs.sunysb.edu>
Tue, 8 Mar 2011 04:20:33 +0000 (23:20 -0500)
committerRohit Kumar <rokkumar@cs.stonybrook.edu>
Fri, 12 Oct 2018 16:27:56 +0000 (12:27 -0400)
commitb8b7ce8553ebabbd2c33dde703b50f8d40c94a60
tree26d3bb1a79be196af0e2fade6546b1af7f869a56
parent2ddfccf8d647ac53d3dd0240e3bf259b6f518e46
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