]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging/lustre: Fix lines that start with spaces
authorOleg Drokin <green@linuxhacker.ru>
Fri, 26 Feb 2016 06:50:10 +0000 (01:50 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Mar 2016 03:17:41 +0000 (19:17 -0800)
Found with checkpatch.

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/lustre_cfg.h
drivers/staging/lustre/lustre/include/lustre_dlm.h
drivers/staging/lustre/lustre/llite/llite_nfs.c
drivers/staging/lustre/lustre/llite/lproc_llite.c
drivers/staging/lustre/lustre/llite/rw26.c

index 23ae83203353231931337c48e1396d780f9f8801..bb16ae980b9837cf13333b960a95699ddd33949f 100644 (file)
@@ -50,7 +50,7 @@
 #define LUSTRE_CFG_MAX_BUFCOUNT 8
 
 #define LCFG_HDR_SIZE(count) \
-    cfs_size_round(offsetof (struct lustre_cfg, lcfg_buflens[(count)]))
+       cfs_size_round(offsetof(struct lustre_cfg, lcfg_buflens[(count)]))
 
 /** If the LCFG_REQUIRED bit is set in a configuration command,
  * then the client is required to understand this parameter
index 144b5aff46f15d55323157e873c46306c972dc0e..8b0364f711291f8bca82fc421a07d97cfa163cbc 100644 (file)
@@ -149,13 +149,13 @@ extern enum ldlm_mode lck_compat_array[];
 
 static inline void lockmode_verify(enum ldlm_mode mode)
 {
-       LASSERT(mode > LCK_MINMODE && mode < LCK_MAXMODE);
+       LASSERT(mode > LCK_MINMODE && mode < LCK_MAXMODE);
 }
 
 static inline int lockmode_compat(enum ldlm_mode exist_mode,
                                  enum ldlm_mode new_mode)
 {
-       return (lck_compat_array[exist_mode] & new_mode);
+       return (lck_compat_array[exist_mode] & new_mode);
 }
 
 /*
index 69d30aa6867e225094b9f590bc739dc8a73c1760..193aab8797092183198f418087018d62b2240b5e 100644 (file)
@@ -330,9 +330,9 @@ static struct dentry *ll_get_parent(struct dentry *dchild)
 }
 
 const struct export_operations lustre_export_operations = {
-       .get_parent = ll_get_parent,
-       .encode_fh  = ll_encode_fh,
-       .get_name   = ll_get_name,
+       .get_parent = ll_get_parent,
+       .encode_fh  = ll_encode_fh,
+       .get_name   = ll_get_name,
        .fh_to_dentry = ll_fh_to_dentry,
        .fh_to_parent = ll_fh_to_parent,
 };
index 8a27f69892ffa62de2ea47e4a91a1ba0bbec917b..45941a6600fed443b2bd50f5ee0d76accffdb467 100644 (file)
@@ -1504,5 +1504,5 @@ LPROC_SEQ_FOPS(ll_rw_offset_stats);
 
 void lprocfs_llite_init_vars(struct lprocfs_static_vars *lvars)
 {
-    lvars->obd_vars     = lprocfs_llite_obd_vars;
+       lvars->obd_vars = lprocfs_llite_obd_vars;
 }
index 6a5762eed7f50cf6e41f2eb4024a932c024a8f82..b9d8e73d33a2bf8da3a2668931e1261c4b8c278e 100644 (file)
@@ -339,14 +339,15 @@ static ssize_t ll_direct_IO_26_seg(const struct lu_env *env, struct cl_io *io,
                                   size_t size, loff_t file_offset,
                                   struct page **pages, int page_count)
 {
-    struct ll_dio_pages pvec = { .ldp_pages    = pages,
-                                .ldp_nr           = page_count,
-                                .ldp_size       = size,
-                                .ldp_offsets      = NULL,
-                                .ldp_start_offset = file_offset
-                              };
-
-    return ll_direct_rw_pages(env, io, rw, inode, &pvec);
+       struct ll_dio_pages pvec = {
+               .ldp_pages      = pages,
+               .ldp_nr         = page_count,
+               .ldp_size       = size,
+               .ldp_offsets    = NULL,
+               .ldp_start_offset = file_offset
+       };
+
+       return ll_direct_rw_pages(env, io, rw, inode, &pvec);
 }
 
 #ifdef KMALLOC_MAX_SIZE