commit | 78757af6518a35bdc22b4e7f660ff9dbbeba35d7 | [log] [tgz] |
---|---|---|
author | Amir Goldstein <amir73il@gmail.com> | Sat Apr 08 14:49:06 2017 +0300 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Thu Apr 20 16:37:26 2017 +0200 |
tree | 00f718f972f02f174190c99174ac21a8ce2ebdbc | |
parent | 33006cdf9c038dca9b3d4c148a509de851a66ea9 [diff] |
vfs: ftruncate check IS_APPEND() on real upper inode ftruncate an overlayfs inode was checking IS_APPEND() on overlay inode, but overlay inode does not have the S_APPEND flag. Check IS_APPEND() on real upper inode instead. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>