diff options
author | Yiwen Jiang <jiangyiwen@huawei.com> | 2018-04-05 16:19:57 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-04-05 21:36:22 -0700 |
commit | 7ff3c2046803ac99d95de6d63cda46c84f72293b (patch) | |
tree | 9214e3d0a1d9d39c0d2c0d77eaa3ec46ee682ba3 /fs/debugfs | |
parent | a25c36577ca788f9ea4b229baef1b6d436393a4c (diff) | |
download | lwn-7ff3c2046803ac99d95de6d63cda46c84f72293b.tar.gz lwn-7ff3c2046803ac99d95de6d63cda46c84f72293b.zip |
fs/9p: don't set SB_NOATIME by default
When the user uses some syscall, for example mmap(v9fs_file_mmap), it
will not update atime even if user's was set mnt_flags without
MNT_NOATIME, because v9fs defaults to settine SB_NOATIME in
v9fs_set_super.
For supporting access time updating when the user mounts with relatime,
we should not set SB_NOATIME by default.
Link: http://lkml.kernel.org/r/5AB9A377.6080906@huawei.com
Signed-off-by: Yiwen Jiang <jiangyiwen@huawei.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Cc: Eric Van Hensbergen <ericvh@gmail.com>
Cc: Ron Minnich <rminnich@sandia.gov>
Cc: Latchesar Ionkov <lucho@ionkov.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/debugfs')
0 files changed, 0 insertions, 0 deletions