f2fs: use mnt_{want,drop}_write_file in ioctl
In interfaces of ioctl, mnt_{want,drop}_write_file should be used for:
- get exclusion against file system freezing which may used by lvm
  snapshot.
- do telling filesystem that a write is about to be performed on it, and
  make sure that the writes are permitted.
Signed-off-by: 
Chao Yu <yuchao0@huawei.com>
Signed-off-by: 
Jaegeuk Kim <jaegeuk@kernel.org>
Loading
Please register or sign in to comment