Page MenuHomeFreeBSD

D19836.diff
No OneTemporary

D19836.diff

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

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)

Event Timeline