]> git.baikalelectronics.ru Git - kernel.git/commit
hugetlbfs: Implement show_options
authorDavid Howells <dhowells@redhat.com>
Wed, 5 Jul 2017 15:24:18 +0000 (16:24 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 6 Jul 2017 07:31:46 +0000 (03:31 -0400)
commit6d3ecec954c8b36ef0b1259fe3115eaad876f27b
treefb8a04864c63aecacb7957a924f3c9dadab757e9
parent6130f167d73b95f641ef00e1d55ff80171c1e71c
hugetlbfs: Implement show_options

Implement the show_options superblock op for hugetlbfs as part of a bid to
get rid of s_options and generic_show_options() to make it easier to
implement a context-based mount where the mount options can be passed
individually over a file descriptor.

Note that the uid and gid should possibly be displayed relative to the
viewer's user namespace.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Nadia Yvette Chambers <nyc@holomorphy.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/hugetlbfs/inode.c
include/linux/hugetlb.h