diff options
author | Chao Yu <yuchao0@huawei.com> | 2016-05-09 11:56:32 (GMT) |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-05-11 16:56:32 (GMT) |
commit | 7fb17fe44b70c854d380686d8b7e63217f9f1dcf (patch) | |
tree | 66c5a2b4945407eb8e95fd63b28c45716ca138ae /fs/f2fs/f2fs.h | |
parent | 0080c5076409d211fbe28d6f07966f7d39e58bad (diff) | |
download | linux-7fb17fe44b70c854d380686d8b7e63217f9f1dcf.tar.xz |
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>
Diffstat (limited to 'fs/f2fs/f2fs.h')
0 files changed, 0 insertions, 0 deletions