zfsctl_snapdir_lookup: obtain a snapname in the remount case
... which is triggered if somebody did regular umount on a snapshot mount. Reviewed by: Matthew Ahrens <mahrens@delphix.com> MFC after: 20 days
This commit is contained in:
parent
c6f32e8bf8
commit
e1ad987110
@ -1002,6 +1002,7 @@ zfsctl_snapdir_lookup(ap)
|
||||
* The snapshot was unmounted behind our backs,
|
||||
* try to remount it.
|
||||
*/
|
||||
VERIFY(zfsctl_snapshot_zname(dvp, nm, MAXNAMELEN, snapname) == 0);
|
||||
goto domount;
|
||||
} else {
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user