diff options
author | Amir Goldstein <amir73il@gmail.com> | 2017-04-08 13:49:06 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2017-04-20 16:37:26 +0200 |
commit | 78757af6518a35bdc22b4e7f660ff9dbbeba35d7 (patch) | |
tree | 00f718f972f02f174190c99174ac21a8ce2ebdbc /fs/overlayfs | |
parent | ovl: Use designated initializers (diff) | |
download | linux-78757af6518a35bdc22b4e7f660ff9dbbeba35d7.tar.xz linux-78757af6518a35bdc22b4e7f660ff9dbbeba35d7.zip |
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>
Diffstat (limited to 'fs/overlayfs')
0 files changed, 0 insertions, 0 deletions