]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
vfs: add generic nocmtime mount flag
authorZach Brown <zab@zabbo.net>
Fri, 15 May 2015 21:23:47 +0000 (14:23 -0700)
committerSage Weil <sage@redhat.com>
Tue, 11 Aug 2015 20:12:47 +0000 (16:12 -0400)
commit57afb87224d7ff5426da80dad9b1b0bd3859b7d4
treed0952710e554a7d73d5be3b7c9df07933d0a046b
parentb953c0d234bc72e8489d3bf51a276c5c4ec85345
vfs: add generic nocmtime mount flag

Add the infrastructure to support a generic nocmtime mount flag.  Like
MS_NOATIME/MNT_NOATIME this can be used to support the mount option in
file systems without having to touch each file system.

This will be used to provide a priviledged indication that unpriviledged
apps can safely use O_NOCMTIME to prevent cmtime updates without harm.

Signed-off-by: Zach Brown <zab@zabbo.net>
fs/namespace.c
fs/proc_namespace.c
fs/statfs.c
include/linux/mount.h
include/linux/statfs.h
include/uapi/linux/fs.h