diff options
author | Rahul Bedarkar <rahulbedarkar89@gmail.com> | 2014-06-06 13:42:04 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-09 19:58:21 -0400 |
commit | 88e412ea5ebc377bbb51aeb685c5a11f364ba841 (patch) | |
tree | 88b210431731362042ebdcc6f5d6a3eda64cf821 | |
parent | 8278bd3abd727f894f6e41adc06f1126a23ee1fd (diff) |
fs: debugfs: remove trailing whitespace
fixes checkpatch.pl trailing whitespace errors
Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | fs/debugfs/file.c | 2 | ||||
-rw-r--r-- | fs/debugfs/inode.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/fs/debugfs/file.c b/fs/debugfs/file.c index 63146295153b..76c08c2beb2f 100644 --- a/fs/debugfs/file.c +++ b/fs/debugfs/file.c | |||
@@ -451,7 +451,7 @@ static ssize_t read_file_bool(struct file *file, char __user *user_buf, | |||
451 | { | 451 | { |
452 | char buf[3]; | 452 | char buf[3]; |
453 | u32 *val = file->private_data; | 453 | u32 *val = file->private_data; |
454 | 454 | ||
455 | if (*val) | 455 | if (*val) |
456 | buf[0] = 'Y'; | 456 | buf[0] = 'Y'; |
457 | else | 457 | else |
diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index 16a46b6a6fee..1e3b99d3db0d 100644 --- a/fs/debugfs/inode.c +++ b/fs/debugfs/inode.c | |||
@@ -66,7 +66,7 @@ static struct inode *debugfs_get_inode(struct super_block *sb, umode_t mode, dev | |||
66 | break; | 66 | break; |
67 | } | 67 | } |
68 | } | 68 | } |
69 | return inode; | 69 | return inode; |
70 | } | 70 | } |
71 | 71 | ||
72 | /* SMP-safe */ | 72 | /* SMP-safe */ |
@@ -317,7 +317,7 @@ static struct dentry *__create_file(const char *name, umode_t mode, | |||
317 | goto exit; | 317 | goto exit; |
318 | 318 | ||
319 | /* If the parent is not specified, we create it in the root. | 319 | /* If the parent is not specified, we create it in the root. |
320 | * We need the root dentry to do this, which is in the super | 320 | * We need the root dentry to do this, which is in the super |
321 | * block. A pointer to that is in the struct vfsmount that we | 321 | * block. A pointer to that is in the struct vfsmount that we |
322 | * have around. | 322 | * have around. |
323 | */ | 323 | */ |
@@ -330,7 +330,7 @@ static struct dentry *__create_file(const char *name, umode_t mode, | |||
330 | switch (mode & S_IFMT) { | 330 | switch (mode & S_IFMT) { |
331 | case S_IFDIR: | 331 | case S_IFDIR: |
332 | error = debugfs_mkdir(parent->d_inode, dentry, mode); | 332 | error = debugfs_mkdir(parent->d_inode, dentry, mode); |
333 | 333 | ||
334 | break; | 334 | break; |
335 | case S_IFLNK: | 335 | case S_IFLNK: |
336 | error = debugfs_link(parent->d_inode, dentry, mode, | 336 | error = debugfs_link(parent->d_inode, dentry, mode, |