]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit35440f4e8064316850a9b854cbae8db8cba26b0d
tree20aeec2addf524142ca334c6507c9f4d3a197fdd
parentb9e018582a3a051bd40353d7ce3d4aa4cf91401e
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