staging: lustre: lllite: fix multi line comments style
authorAastha Gupta <aastha.gupta4104@gmail.com>
Wed, 18 Oct 2017 18:49:46 +0000 (00:19 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Oct 2017 12:46:07 +0000 (14:46 +0200)
This patch fixes checkpatch.pl warnings:

WARNING: Block comments should align the * on each line

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

Signed-off-by: Aastha Gupta <aastha.gupta4104@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/file.c
drivers/staging/lustre/lustre/llite/llite_internal.h
drivers/staging/lustre/lustre/llite/rw.c

index eee9bed..bbfc675 100644 (file)
@@ -386,8 +386,8 @@ static int ll_intent_file_open(struct dentry *de, void *lmm, int lmmsize,
        ll_finish_md_op_data(op_data);
        if (rc == -ESTALE) {
                /* reason for keep own exit path - don`t flood log
-               * with messages with -ESTALE errors.
-               */
+                * with messages with -ESTALE errors.
+                */
                if (!it_disposition(itp, DISP_OPEN_OPEN) ||
                    it_open_error(DISP_OPEN_OPEN, itp))
                        goto out;
index fc1d3f5..b553f9a 100644 (file)
@@ -392,7 +392,8 @@ enum stats_track_type {
 #define LL_SBI_XATTR_CACHE    0x80000 /* support for xattr cache */
 #define LL_SBI_NOROOTSQUASH    0x100000 /* do not apply root squash */
 #define LL_SBI_ALWAYS_PING     0x200000 /* always ping even if server
-                                         * suppress_pings */
+                                         * suppress_pings
+                                         */
 
 #define LL_SBI_FLAGS { \
        "nolck",        \
@@ -1199,7 +1200,7 @@ typedef enum llioc_iter (*llioc_callback_t)(struct inode *inode,
  * Return value:
  *      A magic pointer will be returned if success;
  *      otherwise, NULL will be returned.
- * */
+ */
 void *ll_iocontrol_register(llioc_callback_t cb, int count, unsigned int *cmd);
 void ll_iocontrol_unregister(void *magic);
 
index b6371c4..4fa9f9b 100644 (file)
@@ -888,7 +888,8 @@ static void ras_update(struct ll_sb_info *sbi, struct inode *inode,
 
        /* The initial ras_window_len is set to the request size.  To avoid
         * uselessly reading and discarding pages for random IO the window is
-        * only increased once per consecutive request received. */
+        * only increased once per consecutive request received.
+        */
        if ((ras->ras_consecutive_requests > 1 || stride_detect) &&
            !ras->ras_request_index)
                ras_increase_window(inode, ras, ra);