Commit 403c8bf1 authored by Chao Yu's avatar Chao Yu Committed by Matthias Männich
Browse files

UPSTREAM: 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
Change-Id: Ibf6030ed0ec7f5dc7ef7458006f07755011f2f9b
Signed-off-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit bfe5c026)
parent 9dfaa772
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment