diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fuse.c | 17 | ||||
-rw-r--r-- | lib/fuse_i.h | 4 | ||||
-rw-r--r-- | lib/fuse_mt.c | 4 | ||||
-rw-r--r-- | lib/helper.c | 4 |
4 files changed, 8 insertions, 21 deletions
@@ -2,8 +2,8 @@ FUSE: Filesystem in Userspace Copyright (C) 2001 Miklos Szeredi (mszeredi@inf.bme.hu) - This program can be distributed under the terms of the GNU GPL. - See the file COPYING. + This program can be distributed under the terms of the GNU LGPL. + See the file COPYING.LIB */ #include "fuse_i.h" @@ -18,8 +18,6 @@ #define FUSE_MAX_PATH 4096 -#define FUSE_KERNEL_VERSION_ENV "_FUSE_KERNEL_VERSION" - static inline void inc_avail(struct fuse *f) { pthread_mutex_lock(&f->lock); @@ -966,17 +964,6 @@ struct fuse *fuse_new(int fd, int flags, const struct fuse_operations *op) { struct fuse *f; struct node *root; - char verstr[128]; - char *realver = getenv(FUSE_KERNEL_VERSION_ENV); - - if(realver != NULL) { - sprintf(verstr, "%i", FUSE_KERNEL_VERSION); - if(strcmp(verstr, realver) != 0) { - fprintf(stderr, - "Warning: FUSE version mismatch: using %s, kernel is %s\n", - realver, verstr); - } - } f = (struct fuse *) calloc(1, sizeof(struct fuse)); diff --git a/lib/fuse_i.h b/lib/fuse_i.h index d587af1..02b28ec 100644 --- a/lib/fuse_i.h +++ b/lib/fuse_i.h @@ -2,8 +2,8 @@ FUSE: Filesystem in Userspace Copyright (C) 2001 Miklos Szeredi (mszeredi@inf.bme.hu) - This program can be distributed under the terms of the GNU GPL. - See the file COPYING. + This program can be distributed under the terms of the GNU LGPL. + See the file COPYING.LIB. */ #include "fuse.h" diff --git a/lib/fuse_mt.c b/lib/fuse_mt.c index b8756ac..42d4bad 100644 --- a/lib/fuse_mt.c +++ b/lib/fuse_mt.c @@ -2,8 +2,8 @@ FUSE: Filesystem in Userspace Copyright (C) 2001 Miklos Szeredi (mszeredi@inf.bme.hu) - This program can be distributed under the terms of the GNU GPL. - See the file COPYING. + This program can be distributed under the terms of the GNU LGPL. + See the file COPYING.LIB. */ #include "fuse_i.h" diff --git a/lib/helper.c b/lib/helper.c index 559e992..522b377 100644 --- a/lib/helper.c +++ b/lib/helper.c @@ -2,8 +2,8 @@ FUSE: Filesystem in Userspace Copyright (C) 2001 Miklos Szeredi (mszeredi@inf.bme.hu) - This program can be distributed under the terms of the GNU GPL. - See the file COPYING. + This program can be distributed under the terms of the GNU LGPL. + See the file COPYING.LIB. */ #include "fuse.h" |