commit | f32b2f74c7d37896c1696400f8f7294c00a72e5b | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Mon May 09 19:56:32 2016 +0800 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Mon Nov 13 22:14:41 2017 +0100 |
tree | 30560a150ed25956a26c8a65263a746ece537c1f | |
parent | 83aa44b2ac53d89b62608556c0d45ad11cdafe6b [diff] |
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>