FreeBSD Bugzilla – Attachment 237140 Details for
Bug 266236
ZFS NFS : .zfs/snapshot : Stale file handle
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
diff (text/plain), 707 bytes, created by
Mark Johnston
on 2022-10-07 13:43:33 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Mark Johnston
Created:
2022-10-07 13:43:33 UTC
Size:
707 bytes
patch
obsolete
>diff --git a/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c b/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c >index c65be4c134d5..4cb7f63b5230 100644 >--- a/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c >+++ b/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c >@@ -1818,7 +1818,8 @@ zfs_fhtovp(vfs_t *vfsp, fid_t *fidp, int flags, vnode_t **vpp) > return (SET_ERROR(EINVAL)); > } > >- if (fidp->fid_len == LONG_FID_LEN && (fid_gen > 1 || setgen != 0)) { >+ if (fidp->fid_len == LONG_FID_LEN && setgen != 0) { >+ zfs_exit(zfsvfs, FTAG); > dprintf("snapdir fid: fid_gen (%llu) and setgen (%llu)\n", > (u_longlong_t)fid_gen, (u_longlong_t)setgen); > return (SET_ERROR(EINVAL));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 266236
:
237124
| 237140