diff options
author | Chao Yu | 2023-04-10 10:11:40 +0800 |
---|---|---|
committer | Jaegeuk Kim | 2023-04-12 20:00:34 -0700 |
commit | 6fd257cb35e8478ed551324ccf7c13723e654fcc (patch) | |
tree | dd60dd85ffdd4e003c29156965b0b746e763a2bd /Documentation/filesystems | |
parent | c9b3649a934d131151111354bcbb638076f03a30 (diff) |
f2fs: fix to keep consistent i_gc_rwsem lock order
i_gc_rwsem[WRITE] and i_gc_rwsem[READ] lock order is reversed
in gc_data_segment() and f2fs_dio_write_iter(), fix to keep
consistent lock order as below:
1. lock i_gc_rwsem[WRITE]
2. lock i_gc_rwsem[READ]
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'Documentation/filesystems')
0 files changed, 0 insertions, 0 deletions