spelling fix
authorMiklos Szeredi <miklos@szeredi.hu>
Tue, 11 Oct 2005 10:12:08 +0000 (10:12 +0000)
committerMiklos Szeredi <miklos@szeredi.hu>
Tue, 11 Oct 2005 10:12:08 +0000 (10:12 +0000)
ChangeLog
include/fuse.h
include/fuse_lowlevel.h
kernel/dev.c
kernel/fuse_i.h
lib/fuse.c
lib/fuse_kern_chan.c
lib/fuse_lowlevel.c
lib/helper.c
util/fusermount.c

index b9a2ab18f21173f9e19e06427af42e7cec8f7f3b..f50db1d83ac99f9b4f50f1d5f8855d6d71e963c7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-10-11  Miklos Szeredi <miklos@szeredi.hu>
+
+       * Spelling fixes, thanks to Ioannis Barkas
+
 2005-10-10  Miklos Szeredi <miklos@szeredi.hu>
 
        * fuse_common.h: use extern "C".  Thanks to Valient Gough for the
index d16135e12c72bfeeb7a4e9f1e59ee375d44fdb38..9739f2636f87bae50e555e2b3ef7ff2878cbafbd 100644 (file)
@@ -127,10 +127,10 @@ struct fuse_operations {
 
     /** File open operation
      *
-     * No creation, or trunctation flags (O_CREAT, O_EXCL, O_TRUNC)
+     * No creation, or truncation flags (O_CREAT, O_EXCL, O_TRUNC)
      * will be passed to open().  Open should check if the operation
      * is permitted for the given flags.  Optionally open may also
-     * return an arbitary filehandle in the fuse_file_info structure,
+     * return an arbitrary filehandle in the fuse_file_info structure,
      * which will be passed to all file operations.
      *
      * Changed in version 2.2
@@ -185,7 +185,7 @@ struct fuse_operations {
      * should be treated equally.  Multiple write-flush sequences are
      * relatively rare, so this shouldn't be a problem.
      *
-     * Filesystems shouldn't assume that flush will allways be called
+     * Filesystems shouldn't assume that flush will always be called
      * after some writes, or that if will be called at all.
      *
      * Changed in version 2.2
@@ -376,11 +376,11 @@ void fuse_destroy(struct fuse *f);
 /**
  * FUSE event loop.
  *
- * Requests from the kernel are processed, and the apropriate
+ * Requests from the kernel are processed, and the appropriate
  * operations are called.
  *
  * @param f the FUSE handle
- * @return 0 if no error occured, -1 otherwise
+ * @return 0 if no error occurred, -1 otherwise
  */
 int fuse_loop(struct fuse *f);
 
@@ -394,7 +394,7 @@ void fuse_exit(struct fuse *f);
 /**
  * FUSE event loop with multiple threads
  *
- * Requests from the kernel are processed, and the apropriate
+ * Requests from the kernel are processed, and the appropriate
  * operations are called.  Request are processed in parallel by
  * distributing them between multiple threads.
  *
@@ -402,7 +402,7 @@ void fuse_exit(struct fuse *f);
  * the application.
  *
  * @param f the FUSE handle
- * @return 0 if no error occured, -1 otherwise
+ * @return 0 if no error occurred, -1 otherwise
  */
 int fuse_loop_mt(struct fuse *f);
 
index 93712f58984f1f9f39d39956972cfb6e296e13df..dee43250691b3c610c6c0de29ab462297b4295c2 100644 (file)
@@ -412,7 +412,7 @@ struct fuse_lowlevel_ops {
      * Since file descriptors can be duplicated (dup, dup2, fork), for
      * one open call there may be many flush calls.
      *
-     * Filesystems shouldn't assume that flush will allways be called
+     * Filesystems shouldn't assume that flush will always be called
      * after some writes, or that if will be called at all.
      *
      * fi->fh will contain the value set by the open method, or will
@@ -613,7 +613,7 @@ struct fuse_lowlevel_ops {
      * If size is zero, the total size of the attribute list should be
      * sent with fuse_reply_xattr.
      *
-     * If the size is non-zero, and the null charater separated
+     * If the size is non-zero, and the null character separated
      * attribute list fits in the buffer, the list should be sent with
      * fuse_reply_buf.
      *
@@ -991,7 +991,7 @@ int fuse_session_exited(struct fuse_session *se);
 int fuse_session_loop(struct fuse_session *se);
 
 /**
- * Enter a muli-threaded event loop
+ * Enter a multi-threaded event loop
  *
  * @param se the session
  * @return 0 on success, -1 on error
index 0f4de866079cad1d5e72ded0f18c336032236857..4df10f4c087cc992669ab2119678b7199d662087 100644 (file)
@@ -191,9 +191,9 @@ void fuse_release_background(struct fuse_req *req)
 /*
  * This function is called when a request is finished.  Either a reply
  * has arrived or it was interrupted (and not yet sent) or some error
- * occured during communication with userspace, or the device file was
- * closed.  It decreases the referece count for the request.  In case
- * of a background request the referece to the stored objects are
+ * occurred during communication with userspace, or the device file was
+ * closed.  It decreases the reference count for the request.  In case
+ * of a background request the reference to the stored objects are
  * released.  The requester thread is woken up (if still waiting), and
  * finally the request is either freed or put on the unused_list
  *
index f5afa01e6640bb4c093b7d89d555b8f293eea757..b8270ce05ef3b051b217ac498c8070af60d85e3b 100644 (file)
@@ -429,22 +429,22 @@ int fuse_fsync_common(struct file *file, struct dentry *de, int datasync,
                      int isdir);
 
 /**
- * Initialise file operations on a regular file
+ * Initialize file operations on a regular file
  */
 void fuse_init_file_inode(struct inode *inode);
 
 /**
- * Initialise inode operations on regular files and special files
+ * Initialize inode operations on regular files and special files
  */
 void fuse_init_common(struct inode *inode);
 
 /**
- * Initialise inode and file operations on a directory
+ * Initialize inode and file operations on a directory
  */
 void fuse_init_dir(struct inode *inode);
 
 /**
- * Initialise inode operations on a symlink
+ * Initialize inode operations on a symlink
  */
 void fuse_init_symlink(struct inode *inode);
 
@@ -491,7 +491,7 @@ struct fuse_req *fuse_get_request(struct fuse_conn *fc);
 
 /**
  * Decrement reference count of a request.  If count goes to zero put
- * on unused list (preallocated) or free reqest (not preallocated).
+ * on unused list (preallocated) or free request (not preallocated).
  */
 void fuse_put_request(struct fuse_conn *fc, struct fuse_req *req);
 
@@ -511,7 +511,7 @@ void request_send_noreply(struct fuse_conn *fc, struct fuse_req *req);
 void request_send_background(struct fuse_conn *fc, struct fuse_req *req);
 
 /**
- * Release inodes and file assiciated with background request
+ * Release inodes and file associated with background request
  */
 void fuse_release_background(struct fuse_req *req);
 
index f2593fe4aeaa3256907752a641608512e2ebd736..8555c45345375cb4e019d90f46251f6eebb9fe2f 100644 (file)
@@ -28,7 +28,7 @@
 
 /* FUSE flags: */
 
-/** Enable debuging output */
+/** Enable debugging output */
 #define FUSE_DEBUG       (1 << 1)
 
 /** If a file is removed but it's still open, don't hide the file but
index 7f7d09d342bc6b4fee820d5d2d965580fcf0112f..d2999c50697e3c3007544958094fba1d3a986133 100644 (file)
@@ -28,7 +28,7 @@ static int fuse_kern_chan_receive(struct fuse_chan *ch, char *buf, size_t size)
            operation was interrupted */
         if (err == EINTR || err == ENOENT)
             return 0;
-        /* ENODEV means we got unmounted, so we silenty return failure */
+        /* ENODEV means we got unmounted, so we silently return failure */
         if (err != ENODEV)
             perror("fuse: reading device");
         return -1;
index 21d602dbef16be3d8830d6d28fa93cb0f8f72f08..95882ed7661d6636711f12e9bdcbcf5b6ac43b32 100644 (file)
@@ -873,7 +873,7 @@ struct fuse_session *fuse_lowlevel_new(const char *opts,
     };
 
     if (sizeof(struct fuse_lowlevel_ops) < op_size) {
-        fprintf(stderr, "fuse: warning: library too old, some operations may not not work\n");
+        fprintf(stderr, "fuse: warning: library too old, some operations may not work\n");
         op_size = sizeof(struct fuse_lowlevel_ops);
     }
 
@@ -901,4 +901,3 @@ struct fuse_session *fuse_lowlevel_new(const char *opts,
  out:
     return NULL;
 }
-
index 75959e20143977cd4dfbc94d880734678e1a39b7..b078c25f197bba2feb03af47549b0a52e4d2d764 100644 (file)
@@ -28,7 +28,7 @@ static void usage(const char *progname)
             "FUSE options:\n"
             "    -d                     enable debug output (implies -f)\n"
             "    -f                     foreground operation\n"
-            "    -s                     disable multithreaded operation\n"
+            "    -s                     disable multi-threaded operation\n"
             "    -r                     mount read only (equivalent to '-o ro')\n"
             "    -o opt,[opt...]        mount options\n"
             "    -h                     print help\n"
index cd98ab586f0d8c41c7d7375be04b1ddc920f33ca..742a25f1ef8fc3e442e44d17aee92755a768774c 100644 (file)
@@ -238,7 +238,7 @@ static int count_fuse_fs(void)
     const char *mtab = _PATH_MOUNTED;
     FILE *fp = setmntent(mtab, "r");
     if (fp == NULL) {
-        fprintf(stderr, "%s: faild to open %s: %s\n", progname, mtab,
+        fprintf(stderr, "%s: failed to open %s: %s\n", progname, mtab,
                 strerror(errno));
         return -1;
     }