mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
88c8884a71
commit
5c997cc429
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Reference in a new issue