Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144979420
D13596.1777072584.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
471 B
Referenced Files
None
Subscribers
None
D13596.1777072584.diff
View Options
Index: head/sys/kern/vfs_export.c
===================================================================
--- head/sys/kern/vfs_export.c
+++ head/sys/kern/vfs_export.c
@@ -412,7 +412,7 @@
* If an indexfile was specified, pull it in.
*/
if (argp->ex_indexfile != NULL) {
- if (nfs_pub.np_index != NULL)
+ if (nfs_pub.np_index == NULL)
nfs_pub.np_index = malloc(MAXNAMLEN + 1, M_TEMP,
M_WAITOK);
error = copyinstr(argp->ex_indexfile, nfs_pub.np_index,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 24, 11:16 PM (21 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28419259
Default Alt Text
D13596.1777072584.diff (471 B)
Attached To
Mode
D13596: Reverse the check to allocate the buffer if cached pointer is NULL.
Attached
Detach File
Event Timeline
Log In to Comment