diff options
author | Amir Goldstein <amir73il@gmail.com> | 2017-04-08 14:49:06 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2017-04-20 17:37:26 +0300 |
commit | 78757af6518a35bdc22b4e7f660ff9dbbeba35d7 (patch) | |
tree | 00f718f972f02f174190c99174ac21a8ce2ebdbc /fs/namei.c | |
parent | 33006cdf9c038dca9b3d4c148a509de851a66ea9 (diff) | |
download | linux-78757af6518a35bdc22b4e7f660ff9dbbeba35d7.tar.xz |
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/namei.c')
0 files changed, 0 insertions, 0 deletions