]> err.no Git - linux-2.6/commitdiff
DebugFS : coding style fixes
authorMathieu Desnoyers <compudj@krystal.dyndns.org>
Fri, 24 Nov 2006 18:46:30 +0000 (13:46 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 13 Dec 2006 23:38:45 +0000 (15:38 -0800)
Minor coding style fixes along the way : 80 cols and a white space.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/debugfs/inode.c

index 020da4c605935ce30aa70ef56b08935c18d3b123..05d1a9c4fb7647181c744d5580183eec5b9587c2 100644 (file)
@@ -55,7 +55,8 @@ static struct inode *debugfs_get_inode(struct super_block *sb, int mode, dev_t d
                        inode->i_op = &simple_dir_inode_operations;
                        inode->i_fop = &simple_dir_operations;
 
-                       /* directory inodes start off with i_nlink == 2 (for "." entry) */
+                       /* directory inodes start off with i_nlink == 2
+                        * (for "." entry) */
                        inc_nlink(inode);
                        break;
                }
@@ -143,7 +144,7 @@ static int debugfs_create_by_name(const char *name, mode_t mode,
         * block. A pointer to that is in the struct vfsmount that we
         * have around.
         */
-       if (!parent ) {
+       if (!parent) {
                if (debugfs_mount && debugfs_mount->mnt_sb) {
                        parent = debugfs_mount->mnt_sb->s_root;
                }