Page MenuHomeFreeBSD

D51996.diff
No OneTemporary

D51996.diff

diff --git a/sys/fs/nfsclient/nfs_clport.c b/sys/fs/nfsclient/nfs_clport.c
--- a/sys/fs/nfsclient/nfs_clport.c
+++ b/sys/fs/nfsclient/nfs_clport.c
@@ -521,6 +521,12 @@
sizeof (struct nfsvattr));
}
+ /*
+ * Force rdev to NODEV if the file is not a device node.
+ */
+ if (!VATTR_ISDEV(vap))
+ vap->va_rdev = NODEV;
+
/*
* For NFSv4, the server's export may be a tree of file systems
* where a fileno is a unique value within each file system.

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 1, 4:33 PM (5 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30647988
Default Alt Text
D51996.diff (465 B)

Event Timeline