Fixing checkpatch errors:

"foo * bar" should be "foo *bar"
code indent should use tabs where possible
trailing whitespace

Cc: Christoph Hellwig <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Fabian Frederick <[email protected]>
---
 fs/sysv/namei.c | 56 ++++++++++++++++++++++++++++----------------------------
 1 file changed, 28 insertions(+), 28 deletions(-)

diff --git a/fs/sysv/namei.c b/fs/sysv/namei.c
index 731b2bb..be0e2f6 100644
--- a/fs/sysv/namei.c
+++ b/fs/sysv/namei.c
@@ -42,9 +42,9 @@ const struct dentry_operations sysv_dentry_operations = {
        .d_hash         = sysv_hash,
 };
 
-static struct dentry *sysv_lookup(struct inode * dir, struct dentry * dentry, 
unsigned int flags)
+static struct dentry *sysv_lookup(struct inode *dir, struct dentry *dentry, 
unsigned int flags)
 {
-       struct inode * inode = NULL;
+       struct inode *inode = NULL;
        ino_t ino;
 
        if (dentry->d_name.len > SYSV_NAMELEN)
@@ -60,9 +60,9 @@ static struct dentry *sysv_lookup(struct inode * dir, struct 
dentry * dentry, un
        return NULL;
 }
 
-static int sysv_mknod(struct inode * dir, struct dentry * dentry, umode_t 
mode, dev_t rdev)
+static int sysv_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, 
dev_t rdev)
 {
-       struct inode * inode;
+       struct inode *inode;
        int err;
 
        if (!old_valid_dev(rdev))
@@ -79,17 +79,17 @@ static int sysv_mknod(struct inode * dir, struct dentry * 
dentry, umode_t mode,
        return err;
 }
 
-static int sysv_create(struct inode * dir, struct dentry * dentry, umode_t 
mode, bool excl)
+static int sysv_create(struct inode *dir, struct dentry *dentry, umode_t mode, 
bool excl)
 {
        return sysv_mknod(dir, dentry, mode, 0);
 }
 
-static int sysv_symlink(struct inode * dir, struct dentry * dentry, 
-       const char * symname)
+static int sysv_symlink(struct inode *dir, struct dentry *dentry,
+       const char *symname)
 {
        int err = -ENAMETOOLONG;
        int l = strlen(symname)+1;
-       struct inode * inode;
+       struct inode *inode;
 
        if (l > dir->i_sb->s_blocksize)
                goto out;
@@ -115,8 +115,8 @@ out_fail:
        goto out;
 }
 
-static int sysv_link(struct dentry * old_dentry, struct inode * dir, 
-       struct dentry * dentry)
+static int sysv_link(struct dentry *old_dentry, struct inode *dir,
+       struct dentry *dentry)
 {
        struct inode *inode = old_dentry->d_inode;
 
@@ -127,9 +127,9 @@ static int sysv_link(struct dentry * old_dentry, struct 
inode * dir,
        return add_nondir(dentry, inode);
 }
 
-static int sysv_mkdir(struct inode * dir, struct dentry *dentry, umode_t mode)
+static int sysv_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
 {
-       struct inode * inode;
+       struct inode *inode;
        int err;
 
        inode_inc_link_count(dir);
@@ -151,7 +151,7 @@ static int sysv_mkdir(struct inode * dir, struct dentry 
*dentry, umode_t mode)
        if (err)
                goto out_fail;
 
-        d_instantiate(dentry, inode);
+       d_instantiate(dentry, inode);
 out:
        return err;
 
@@ -164,11 +164,11 @@ out_dir:
        goto out;
 }
 
-static int sysv_unlink(struct inode * dir, struct dentry * dentry)
+static int sysv_unlink(struct inode *dir, struct dentry *dentry)
 {
-       struct inode * inode = dentry->d_inode;
-       struct page * page;
-       struct sysv_dir_entry * de;
+       struct inode *inode = dentry->d_inode;
+       struct page *page;
+       struct sysv_dir_entry *de;
        int err = -ENOENT;
 
        de = sysv_find_entry(dentry, &page);
@@ -185,7 +185,7 @@ out:
        return err;
 }
 
-static int sysv_rmdir(struct inode * dir, struct dentry * dentry)
+static int sysv_rmdir(struct inode *dir, struct dentry *dentry)
 {
        struct inode *inode = dentry->d_inode;
        int err = -ENOTEMPTY;
@@ -205,15 +205,15 @@ static int sysv_rmdir(struct inode * dir, struct dentry * 
dentry)
  * Anybody can rename anything with this: the permission checks are left to the
  * higher-level routines.
  */
-static int sysv_rename(struct inode * old_dir, struct dentry * old_dentry,
-                 struct inode * new_dir, struct dentry * new_dentry)
+static int sysv_rename(struct inode *old_dir, struct dentry *old_dentry,
+                 struct inode *new_dir, struct dentry *new_dentry)
 {
-       struct inode * old_inode = old_dentry->d_inode;
-       struct inode * new_inode = new_dentry->d_inode;
-       struct page * dir_page = NULL;
-       struct sysv_dir_entry * dir_de = NULL;
-       struct page * old_page;
-       struct sysv_dir_entry * old_de;
+       struct inode *old_inode = old_dentry->d_inode;
+       struct inode *new_inode = new_dentry->d_inode;
+       struct page *dir_page = NULL;
+       struct sysv_dir_entry *dir_de = NULL;
+       struct page *old_page;
+       struct sysv_dir_entry *old_de;
        int err = -ENOENT;
 
        old_de = sysv_find_entry(old_dentry, &old_page);
@@ -228,8 +228,8 @@ static int sysv_rename(struct inode * old_dir, struct 
dentry * old_dentry,
        }
 
        if (new_inode) {
-               struct page * new_page;
-               struct sysv_dir_entry * new_de;
+               struct page *new_page;
+               struct sysv_dir_entry *new_de;
 
                err = -ENOTEMPTY;
                if (dir_de && !sysv_empty_dir(new_inode))
-- 
1.8.4.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to