diff options
author | Amir Goldstein <amir73il@gmail.com> | 2017-04-08 14:49:07 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2017-04-20 16:37:26 +0200 |
commit | b0990fbbbd147da2096b24f2d462abe02ca251fd (patch) | |
tree | cf376e535baa2a18c3f8a63e393b2f1c54e1b366 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 78757af6518a35bdc22b4e7f660ff9dbbeba35d7 (diff) |
ovl: check IS_APPEND() on real upper inode
For overlay file open, check IS_APPEND() on the real upper inode
inside d_real(), because the overlay inode does not have the
S_APPEND flag and IS_APPEND() can only be checked at open time.
Note that because overlayfs does not copy up the chattr inode flags
(i.e. S_APPEND, S_IMMUTABLE), the IS_APPEND() check is only relevant
for upper inodes that were set with chattr +a and not to lower
inodes that had chattr +a before copy up.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions