cleanup
authorMiklos Szeredi <miklos@szeredi.hu>
Fri, 30 Mar 2007 16:32:12 +0000 (16:32 +0000)
committerMiklos Szeredi <miklos@szeredi.hu>
Fri, 30 Mar 2007 16:32:12 +0000 (16:32 +0000)
ChangeLog
NEWS
example/hello.c

index eb701b6339763a5b54b06277683fa412b45694d9..75b10579ad2ac651f59d2333b492cc4646c667ff 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
        * Fix 2.6.9 RHEL kernels, which have compatibility mutex.h, but
        don't define mutex_destroy(), bummer.  Patch from Phil Schwan
 
-2007-02-04  Miklos Szeredi <miklos@szeredi.hu>
-
-       * Released 2.6.3
-
 2007-02-04  Miklos Szeredi <miklos@szeredi.hu>
 
        * Compile fuseblk for kernels which don't have an option to turn
diff --git a/NEWS b/NEWS
index 1558c460eaa7f7f2a8e28ac6714b155e40c51b28..794e840b13109d8147093f0905c75de064dd7616 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,9 @@
+What is new in 2.7
+
+ - Stacking support for the high level API
+
+ - Fix problems with mtab writing
+
 What is new in 2.6
 
  - Improved read characteristics (asynchronous reads)
index 7a1cdb59e79554c0e399038207395f02e9ed4e0f..0676a390aedec69ebc282025b3b7db35af78ea8a 100644 (file)
@@ -24,16 +24,14 @@ static int hello_getattr(const char *path, struct stat *stbuf)
     int res = 0;
 
     memset(stbuf, 0, sizeof(struct stat));
-    if(strcmp(path, "/") == 0) {
+    if (strcmp(path, "/") == 0) {
         stbuf->st_mode = S_IFDIR | 0755;
         stbuf->st_nlink = 2;
-    }
-    else if(strcmp(path, hello_path) == 0) {
+    } else if (strcmp(path, hello_path) == 0) {
         stbuf->st_mode = S_IFREG | 0444;
         stbuf->st_nlink = 1;
         stbuf->st_size = strlen(hello_str);
-    }
-    else
+    } else
         res = -ENOENT;
 
     return res;
@@ -45,7 +43,7 @@ static int hello_readdir(const char *path, void *buf, fuse_fill_dir_t filler,
     (void) offset;
     (void) fi;
 
-    if(strcmp(path, "/") != 0)
+    if (strcmp(path, "/") != 0)
         return -ENOENT;
 
     filler(buf, ".", NULL, 0);
@@ -57,10 +55,10 @@ static int hello_readdir(const char *path, void *buf, fuse_fill_dir_t filler,
 
 static int hello_open(const char *path, struct fuse_file_info *fi)
 {
-    if(strcmp(path, hello_path) != 0)
+    if (strcmp(path, hello_path) != 0)
         return -ENOENT;
 
-    if((fi->flags & 3) != O_RDONLY)
+    if ((fi->flags & 3) != O_RDONLY)
         return -EACCES;
 
     return 0;