commit | 31c3a7069593b072bd57192b63b62f9a7e994e9a | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@redhat.com> | Wed Oct 12 16:28:11 2016 +0200 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Fri Dec 16 11:02:54 2016 +0100 |
tree | 96c2cd32f5994a6ea284b79938c66d27e632023e | |
parent | 2d8f2908e60be605dac89145c3edb5e42631d061 [diff] |
Revert "ovl: get_write_access() in truncate" This reverts commit 03bea60409328de54e4ff7ec41672e12a9cb0908. Commit 4d0c5ba2ff79 ("vfs: do get_write_access() on upper layer of overlayfs") makes the writecount checks inside overlayfs superfluous, the file is already copied up and write access acquired on the upper inode when ovl_setattr is called with ATTR_SIZE. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>