diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-05-06 02:22:35 -0400 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2017-08-07 12:23:09 -0400 |
commit | 41922ce8318f6233c9023ab9270454e63ab1ed41 (patch) | |
tree | 1bcf2658ee4447ab0ee97dae8627712a81bb3db4 /fs/dlm | |
parent | 653996ca8d6f81be1b29f2a1cb622ff4afc0be04 (diff) |
dlm: Add spaces for better code readability
The script "checkpatch.pl" pointed information out like the following.
CHECK: spaces preferred around that '+' (ctx:VxV)
Thus fix the affected source code places.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm')
-rw-r--r-- | fs/dlm/debug_fs.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/dlm/debug_fs.c b/fs/dlm/debug_fs.c index 464218c6b502..551e0f8dbe0d 100644 --- a/fs/dlm/debug_fs.c +++ b/fs/dlm/debug_fs.c | |||
@@ -741,7 +741,7 @@ void dlm_delete_debug_file(struct dlm_ls *ls) | |||
741 | 741 | ||
742 | int dlm_create_debug_file(struct dlm_ls *ls) | 742 | int dlm_create_debug_file(struct dlm_ls *ls) |
743 | { | 743 | { |
744 | char name[DLM_LOCKSPACE_LEN+8]; | 744 | char name[DLM_LOCKSPACE_LEN + 8]; |
745 | 745 | ||
746 | /* format 1 */ | 746 | /* format 1 */ |
747 | 747 | ||
@@ -756,7 +756,7 @@ int dlm_create_debug_file(struct dlm_ls *ls) | |||
756 | /* format 2 */ | 756 | /* format 2 */ |
757 | 757 | ||
758 | memset(name, 0, sizeof(name)); | 758 | memset(name, 0, sizeof(name)); |
759 | snprintf(name, DLM_LOCKSPACE_LEN+8, "%s_locks", ls->ls_name); | 759 | snprintf(name, DLM_LOCKSPACE_LEN + 8, "%s_locks", ls->ls_name); |
760 | 760 | ||
761 | ls->ls_debug_locks_dentry = debugfs_create_file(name, | 761 | ls->ls_debug_locks_dentry = debugfs_create_file(name, |
762 | S_IFREG | S_IRUGO, | 762 | S_IFREG | S_IRUGO, |
@@ -769,7 +769,7 @@ int dlm_create_debug_file(struct dlm_ls *ls) | |||
769 | /* format 3 */ | 769 | /* format 3 */ |
770 | 770 | ||
771 | memset(name, 0, sizeof(name)); | 771 | memset(name, 0, sizeof(name)); |
772 | snprintf(name, DLM_LOCKSPACE_LEN+8, "%s_all", ls->ls_name); | 772 | snprintf(name, DLM_LOCKSPACE_LEN + 8, "%s_all", ls->ls_name); |
773 | 773 | ||
774 | ls->ls_debug_all_dentry = debugfs_create_file(name, | 774 | ls->ls_debug_all_dentry = debugfs_create_file(name, |
775 | S_IFREG | S_IRUGO, | 775 | S_IFREG | S_IRUGO, |
@@ -782,7 +782,7 @@ int dlm_create_debug_file(struct dlm_ls *ls) | |||
782 | /* format 4 */ | 782 | /* format 4 */ |
783 | 783 | ||
784 | memset(name, 0, sizeof(name)); | 784 | memset(name, 0, sizeof(name)); |
785 | snprintf(name, DLM_LOCKSPACE_LEN+8, "%s_toss", ls->ls_name); | 785 | snprintf(name, DLM_LOCKSPACE_LEN + 8, "%s_toss", ls->ls_name); |
786 | 786 | ||
787 | ls->ls_debug_toss_dentry = debugfs_create_file(name, | 787 | ls->ls_debug_toss_dentry = debugfs_create_file(name, |
788 | S_IFREG | S_IRUGO, | 788 | S_IFREG | S_IRUGO, |
@@ -793,7 +793,7 @@ int dlm_create_debug_file(struct dlm_ls *ls) | |||
793 | goto fail; | 793 | goto fail; |
794 | 794 | ||
795 | memset(name, 0, sizeof(name)); | 795 | memset(name, 0, sizeof(name)); |
796 | snprintf(name, DLM_LOCKSPACE_LEN+8, "%s_waiters", ls->ls_name); | 796 | snprintf(name, DLM_LOCKSPACE_LEN + 8, "%s_waiters", ls->ls_name); |
797 | 797 | ||
798 | ls->ls_debug_waiters_dentry = debugfs_create_file(name, | 798 | ls->ls_debug_waiters_dentry = debugfs_create_file(name, |
799 | S_IFREG | S_IRUGO, | 799 | S_IFREG | S_IRUGO, |