staging: lustre: checkpatch: argument alignment for readability
authorSwee Hua Law <sweehua81@gmail.com>
Mon, 10 Aug 2015 13:54:18 +0000 (21:54 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Aug 2015 01:47:41 +0000 (18:47 -0700)
Fix checkpatch problem: move last argument of the hlist..() back to same line

Signed-off-by: Swee Hua Law <sweehua81@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/remote_perm.c

index 49d78a373219e469616b68e99a417a168cfd1eda..39022ea88b5f5744f8b61fca48701225e6ce3e65 100644 (file)
@@ -104,8 +104,7 @@ void free_rmtperm_hash(struct hlist_head *hash)
                return;
 
        for (i = 0; i < REMOTE_PERM_HASHSIZE; i++)
-               hlist_for_each_entry_safe(lrp, next, hash + i,
-                                             lrp_list)
+               hlist_for_each_entry_safe(lrp, next, hash + i, lrp_list)
                        free_ll_remote_perm(lrp);
        OBD_SLAB_FREE(hash, ll_rmtperm_hash_cachep,
                      REMOTE_PERM_HASHSIZE * sizeof(*hash));
@@ -322,8 +321,7 @@ void ll_free_remote_perms(struct inode *inode)
        spin_lock(&lli->lli_lock);
 
        for (i = 0; i < REMOTE_PERM_HASHSIZE; i++) {
-               hlist_for_each_entry_safe(lrp, node, next, hash + i,
-                                             lrp_list)
+               hlist_for_each_entry_safe(lrp, node, next, hash + i, lrp_list)
                        free_ll_remote_perm(lrp);
        }