Commit bfe5c02
f2fs: fix to check atomic_file in f2fs ioctl interfaces
Some f2fs ioctl interfaces like f2fs_ioc_set_pin_file(),
f2fs_move_file_range(), and f2fs_defragment_range() missed to
check atomic_write status, which may cause potential race issue,
fix it.
Cc: stable@vger.kernel.org
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>1 parent 884ee6d commit bfe5c02
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2710 | 2710 | | |
2711 | 2711 | | |
2712 | 2712 | | |
2713 | | - | |
| 2713 | + | |
| 2714 | + | |
2714 | 2715 | | |
2715 | 2716 | | |
2716 | 2717 | | |
| |||
2943 | 2944 | | |
2944 | 2945 | | |
2945 | 2946 | | |
| 2947 | + | |
| 2948 | + | |
| 2949 | + | |
| 2950 | + | |
| 2951 | + | |
2946 | 2952 | | |
2947 | 2953 | | |
2948 | 2954 | | |
| |||
3326 | 3332 | | |
3327 | 3333 | | |
3328 | 3334 | | |
| 3335 | + | |
| 3336 | + | |
| 3337 | + | |
| 3338 | + | |
| 3339 | + | |
3329 | 3340 | | |
3330 | 3341 | | |
3331 | 3342 | | |
| |||
0 commit comments