staging: lustre: Fix block comments style
authorSabin Mihai Rapan <sabin.rapan@gmail.com>
Mon, 21 May 2018 17:34:30 +0000 (19:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 May 2018 16:40:56 +0000 (18:40 +0200)
This patch fixes the checkpatch.pl warning:

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line

Signed-off-by: Sabin Mihai Rapan <sabin.rapan@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/uapi/linux/lustre/lustre_idl.h
drivers/staging/lustre/include/uapi/linux/lustre/lustre_user.h

index aac98dbcf6e37853a27466236a48ccb8555d1733..8a7301a7612297bc2095792ee9bb8a60ca2aed02 100644 (file)
@@ -1526,9 +1526,11 @@ struct mdt_rec_setattr {
 #define MDS_OPEN_HAS_OBJS    020000000000 /* Just set the EA the obj exist */
 #define MDS_OPEN_NORESTORE  0100000000000ULL /* Do not restore file at open */
 #define MDS_OPEN_NEWSTRIPE  0200000000000ULL /* New stripe needed (restripe or
-                                             * hsm restore) */
+                                             * hsm restore)
+                                             */
 #define MDS_OPEN_VOLATILE   0400000000000ULL /* File is volatile = created
-                                               unlinked */
+                                             * unlinked
+                                             */
 #define MDS_OPEN_LEASE    01000000000000ULL /* Open the file and grant lease
                                              * delegation, succeed if it's not
                                              * being opened with conflict mode.
index 5e332e3af68a775fd5feba8401199230ef2c1b75..69387f36d1f1ea1e8d26b46b336fd341da33475e 100644 (file)
@@ -405,7 +405,8 @@ static inline __u32 lov_user_md_size(__u16 stripes, __u32 lmm_magic)
 
 /* Compile with -D_LARGEFILE64_SOURCE or -D_GNU_SOURCE (or #define) to
  * use this.  It is unsafe to #define those values in this header as it
- * is possible the application has already #included <sys/stat.h>. */
+ * is possible the application has already #included <sys/stat.h>.
+ */
 #ifdef HAVE_LOV_USER_MDS_DATA
 #define lov_user_mds_data lov_user_mds_data_v1
 struct lov_user_mds_data_v1 {
@@ -468,7 +469,8 @@ struct ll_fid {
        __u64 id;        /* holds object id */
        __u32 generation; /* holds object generation */
        __u32 f_type;     /* holds object type or stripe idx when passing it to
-                          * OST for saving into EA. */
+                          * OST for saving into EA.
+                          */
 };
 
 #define UUID_MAX       40