cleanup: ensure that all comment markers have spaces inside
authorErez_Zadok <ezk@cs.sunysb.edu>
Fri, 1 Jun 2007 03:40:19 +0000 (23:40 -0400)
committerRachita Kothiyal <rachita@dewey.fsl.cs.sunysb.edu>
Thu, 1 May 2008 23:02:50 +0000 (19:02 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/config.c
fs/unionfs/dirhelper.c
fs/unionfs/export.c
fs/unionfs/file.c
fs/unionfs/inode.c
fs/unionfs/odf.c

index aaa48ff40ccefd79e962d810e9cc2b904cdfa068..f2a532f0aac3b23cd3e4b5bdc8955c9273be6349 100644 (file)
@@ -294,4 +294,4 @@ void unionfs_config_exit(void)
        configfs_unregister_subsystem(&unionfs_subsys);
 }
 
-#endif /*CONFIG_CONFIGFS_FS*/
+#endif /* CONFIG_CONFIGFS_FS */
index 6f34d11c4c02b6f433f42df8ea992b364ece8a0c..099e5a4150dd729482be7b8a12f70ff7392c8d65 100644 (file)
@@ -49,7 +49,7 @@ struct unionfs_rdutil_callback {
        int mode;
 };
 
-/* callback structure for odf_cleanup*/
+/* callback structure for odf_cleanup */
 struct unionfs_cleanup_callback {
        int err;
        int filldir_called;
index 97e1e8794a83f38b3f4c30ac2ac1d8a04293d7c5..ad02098a979a7ecc8489b7cf883073e192d08739 100644 (file)
@@ -174,7 +174,7 @@ out:
        return res;
 }
 
-/**
+/*
  * @dentry: the directory in which to find a name
  * @name:   a pointer to a %NAME_MAX+1 char buffer to store the name
  * @child:  the dentry for the child directory.
index 24a14b3cb55c3134ec5fd7f5403d59e288731c07..62da4e4268dbb030909d40607968cdbc964469bd 100644 (file)
 
 #include "union.h"
 
-/*******************
- * File Operations *
- *******************/
-
 static ssize_t unionfs_read(struct file *file, char __user *buf,
                            size_t count, loff_t *ppos)
 {
index 49c3e0e1bdd7dec68f2ee12e86d07078a940348b..2a9257455f00a8e2c22ccc7362fb1a011d70e936 100644 (file)
@@ -561,7 +561,7 @@ static int unionfs_mknod(struct inode *dir, struct dentry *dentry, int mode,
                goto out;
        }
 
-       /* update odf and remove any wh before interpose*/
+       /* update odf and remove any wh before interpose */
        err = odf_lookup(dentry->d_parent, dentry,
                         ODF_LOOKUP_FILE|ODF_LOOKUP_RMV_WH);
        if (!err)
index 53554526310aeefdcd0020ff3b4229da7fe8a2c8..b6b4f2925ec9284c8c2c3dc6402172640a030a63 100644 (file)
@@ -519,7 +519,7 @@ out:
        return err;
 }
 
-/* Links two entries in the odf        */
+/* Links two entries in the odf */
 int odf_link(struct dentry *old_dentry, struct dentry *new_dentry)
 {
        struct dentry *old_dir, *new_dir;
@@ -750,7 +750,7 @@ int odf_copyup_link(struct super_block *sb, struct dentry *old_dentry,
        /* get the odf ino first */
        link_file->f_pos = 0;
 
-       /* write destination branch id*/
+       /* write destination branch id */
        le32 = cpu_to_le32(branch_id(sb, new_branch));
        err = link_file->f_op->write(link_file, (char*)&le32,
                                     sizeof(__le32), &link_file->f_pos);
@@ -1870,7 +1870,7 @@ char *odf_read_sb_data(struct odf_sb_info *odf_sb, int **bid)
        unsigned char uuid[UUID_LEN];
        __le32 le32;
 
-       options = kzalloc(ODF_OPTIONS_LEN, GFP_KERNEL); /*XXX*/
+       options = kzalloc(ODF_OPTIONS_LEN, GFP_KERNEL); /* XXX */
        branch_entry = kzalloc(ODF_BRANCH_PATH, GFP_KERNEL);
        if (!options || !branch_entry) {
                err = -ENOMEM;
@@ -1983,7 +1983,7 @@ char *odf_read_sb_data(struct odf_sb_info *odf_sb, int **bid)
                        goto out_close;
                }
 
-               /* permissions*/
+               /* permissions */
                err = file->f_op->read(file, (char*)&le32, sizeof(__le32),
                                       &file->f_pos);
                if (err != sizeof(__le32)) {
@@ -1992,7 +1992,7 @@ char *odf_read_sb_data(struct odf_sb_info *odf_sb, int **bid)
                }
                perms = le32_to_cpu(le32);
 
-               /* branch UUID*/
+               /* branch UUID */
                err = file->f_op->read(file, (char*)uuid, UUID_LEN,
                                       &file->f_pos);
                if (err != UUID_LEN) {