Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109654141
D19836.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
558 B
Referenced Files
None
Subscribers
None
D19836.diff
View Options
Index: head/sys/fs/fuse/fuse_vfsops.c
===================================================================
--- head/sys/fs/fuse/fuse_vfsops.c
+++ head/sys/fs/fuse/fuse_vfsops.c
@@ -225,7 +225,7 @@
size_t len;
struct cdev *fdev;
- struct fuse_data *data;
+ struct fuse_data *data = NULL;
struct thread *td;
struct file *fp, *fptmp;
char *fspec, *subtype;
@@ -361,7 +361,7 @@
out:
if (err) {
FUSE_LOCK();
- if (data->mp == mp) {
+ if (data != NULL && data->mp == mp) {
/*
* Destroy device only if we acquired reference to
* it
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 8, 11:58 PM (20 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16537244
Default Alt Text
D19836.diff (558 B)
Attached To
Mode
D19836: fusefs: fix a panic on mount
Attached
Detach File
Event Timeline
Log In to Comment