diff options
| author | Eric Biggers <[email protected]> | 2019-07-01 20:26:30 +0000 |
|---|---|---|
| committer | Jaegeuk Kim <[email protected]> | 2019-07-13 02:39:07 +0000 |
| commit | d5e5efa250cd644896f541551610fe7f0de35e0a (patch) | |
| tree | be65832ad91fd00ee029b4d72b1319f38025d9a1 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | f2fs: use generic checking function for FS_IOC_FSSETXATTR (diff) | |
| download | kernel-d5e5efa250cd644896f541551610fe7f0de35e0a.tar.gz kernel-d5e5efa250cd644896f541551610fe7f0de35e0a.zip | |
f2fs: remove redundant check from f2fs_setflags_common()
Now that f2fs_ioc_setflags() and f2fs_ioc_fssetxattr() call the VFS
helper functions which check for permission to change the immutable and
append-only flags, it's no longer needed to do this check in
f2fs_setflags_common() too. So remove it.
This is based on a patch from Darrick Wong, but reworked to apply after
commit 360985573b55 ("f2fs: separate f2fs i_flags from fs_flags and ext4
i_flags").
Originally-from: Darrick J. Wong <[email protected]>
Signed-off-by: Eric Biggers <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
