diff options
author | Mathieu Desnoyers <compudj@krystal.dyndns.org> | 2006-11-24 13:46:30 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-12-13 18:38:45 -0500 |
commit | bafb232ec42aa6862798236009e8e5233d05ab36 (patch) | |
tree | 498330fe4ef98ef06ff4692f6d1d1c9a900ecee5 /fs/debugfs | |
parent | 4f36557fbe4ab59feb2783cdb5d049cb8c3f34f3 (diff) |
DebugFS : coding style fixes
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>
Diffstat (limited to 'fs/debugfs')
-rw-r--r-- | fs/debugfs/inode.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index 020da4c60593..05d1a9c4fb76 100644 --- a/fs/debugfs/inode.c +++ b/fs/debugfs/inode.c | |||
@@ -55,7 +55,8 @@ static struct inode *debugfs_get_inode(struct super_block *sb, int mode, dev_t d | |||
55 | inode->i_op = &simple_dir_inode_operations; | 55 | inode->i_op = &simple_dir_inode_operations; |
56 | inode->i_fop = &simple_dir_operations; | 56 | inode->i_fop = &simple_dir_operations; |
57 | 57 | ||
58 | /* directory inodes start off with i_nlink == 2 (for "." entry) */ | 58 | /* directory inodes start off with i_nlink == 2 |
59 | * (for "." entry) */ | ||
59 | inc_nlink(inode); | 60 | inc_nlink(inode); |
60 | break; | 61 | break; |
61 | } | 62 | } |
@@ -143,7 +144,7 @@ static int debugfs_create_by_name(const char *name, mode_t mode, | |||
143 | * block. A pointer to that is in the struct vfsmount that we | 144 | * block. A pointer to that is in the struct vfsmount that we |
144 | * have around. | 145 | * have around. |
145 | */ | 146 | */ |
146 | if (!parent ) { | 147 | if (!parent) { |
147 | if (debugfs_mount && debugfs_mount->mnt_sb) { | 148 | if (debugfs_mount && debugfs_mount->mnt_sb) { |
148 | parent = debugfs_mount->mnt_sb->s_root; | 149 | parent = debugfs_mount->mnt_sb->s_root; |
149 | } | 150 | } |