diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2002-10-25 12:41:16 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2002-10-25 12:41:16 +0000 |
commit | 8b39a9f1b7517dac6b9b69daf200948fb96ca4cf (patch) | |
tree | 3e804d89e6221eb42a8f9a3a79a86b9ee7f8aa76 /lib/fuse.c | |
parent | d6e9f88da7cea46cf63d30911b9297ccf1befd5c (diff) | |
download | libfuse-8b39a9f1b7517dac6b9b69daf200948fb96ca4cf.tar.gz |
version change + cleanups
Diffstat (limited to 'lib/fuse.c')
-rw-r--r-- | lib/fuse.c | 17 |
1 files changed, 2 insertions, 15 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)); |