diff options
author | 2021-05-06 12:11:14 -0700 | |
---|---|---|
committer | 2021-05-11 14:48:11 -0700 | |
commit | a753103909a7e3d22147505d944da3d20759e1a5 (patch) | |
tree | 11d2e91b7b412cb451633aa46416767840d0fb17 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f2fs: avoid null pointer access when handling IPU error (diff) | |
download | wireguard-linux-a753103909a7e3d22147505d944da3d20759e1a5.tar.xz wireguard-linux-a753103909a7e3d22147505d944da3d20759e1a5.zip |
f2fs: support iflag change given the mask
In f2fs_fileattr_set(),
if (!fa->flags_valid)
mask &= FS_COMMON_FL;
In this case, we can set supported flags by mask only instead of BUG_ON.
/* Flags shared betwen flags/xflags */
(FS_SYNC_FL | FS_IMMUTABLE_FL | FS_APPEND_FL | \
FS_NODUMP_FL | FS_NOATIME_FL | FS_DAX_FL | \
FS_PROJINHERIT_FL)
Fixes: 9b1bb01c8ae7 ("f2fs: convert to fileattr")
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions