VFS: Make get_filesystem() return the affected filesystem
authorDavid Howells <dhowells@redhat.com>
Tue, 4 Jul 2017 16:25:16 +0000 (17:25 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 6 Jul 2017 07:27:09 +0000 (03:27 -0400)
commitee416bcdba9975065de571e09de1f7ebfde2156a
tree20aeec2addf524142ca334c6507c9f4d3a197fdd
parentdd111b31e951c4ffb3a525b51b11d240118693c1
VFS: Make get_filesystem() return the affected filesystem

Make get_filesystem() return a pointer to the filesystem on which it just
got a ref.

Suggested-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/filesystems.c
include/linux/fs.h