]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Don't hard-code the fs_type when submounting
authorScott Mayhew <smayhew@redhat.com>
Thu, 20 Feb 2020 13:06:20 +0000 (08:06 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 25 Feb 2020 18:31:19 +0000 (13:31 -0500)
commit1ec53995b4b0a320ef209ad2364c57eae106593c
treee7d82b2e96dd61089db0ee2f8d18af09735cf247
parent76764fde28f0d704eecf966cd9974eee1a6f1861
NFS: Don't hard-code the fs_type when submounting

Hard-coding the fstype causes "nfs4" mounts to appear as "nfs",
which breaks scripts that do "umount -at nfs4".

Reported-by: Patrick Steinhardt <ps@pks.im>
Fixes: 02d9e1573b71 ("NFS: Add fs_context support.")
Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/namespace.c