commit | 7fb17fe44b70c854d380686d8b7e63217f9f1dcf | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Mon May 09 19:56:32 2016 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Wed May 11 09:56:32 2016 -0700 |
tree | 66c5a2b4945407eb8e95fd63b28c45716ca138ae | |
parent | 0080c5076409d211fbe28d6f07966f7d39e58bad [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>