Commit 7f6c756a authored by Aastha Gupta's avatar Aastha Gupta Committed by Greg Kroah-Hartman

staging: lustre: lllite: fix multi line comments style

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: default avatarAastha Gupta <aastha.gupta4104@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 65a20cc1
...@@ -392,7 +392,8 @@ enum stats_track_type { ...@@ -392,7 +392,8 @@ enum stats_track_type {
#define LL_SBI_XATTR_CACHE 0x80000 /* support for xattr cache */ #define LL_SBI_XATTR_CACHE 0x80000 /* support for xattr cache */
#define LL_SBI_NOROOTSQUASH 0x100000 /* do not apply root squash */ #define LL_SBI_NOROOTSQUASH 0x100000 /* do not apply root squash */
#define LL_SBI_ALWAYS_PING 0x200000 /* always ping even if server #define LL_SBI_ALWAYS_PING 0x200000 /* always ping even if server
* suppress_pings */ * suppress_pings
*/
#define LL_SBI_FLAGS { \ #define LL_SBI_FLAGS { \
"nolck", \ "nolck", \
...@@ -1199,7 +1200,7 @@ typedef enum llioc_iter (*llioc_callback_t)(struct inode *inode, ...@@ -1199,7 +1200,7 @@ typedef enum llioc_iter (*llioc_callback_t)(struct inode *inode,
* Return value: * Return value:
* A magic pointer will be returned if success; * A magic pointer will be returned if success;
* otherwise, NULL will be returned. * otherwise, NULL will be returned.
* */ */
void *ll_iocontrol_register(llioc_callback_t cb, int count, unsigned int *cmd); void *ll_iocontrol_register(llioc_callback_t cb, int count, unsigned int *cmd);
void ll_iocontrol_unregister(void *magic); void ll_iocontrol_unregister(void *magic);
......
...@@ -888,7 +888,8 @@ static void ras_update(struct ll_sb_info *sbi, struct inode *inode, ...@@ -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 /* The initial ras_window_len is set to the request size. To avoid
* uselessly reading and discarding pages for random IO the window is * 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) && if ((ras->ras_consecutive_requests > 1 || stride_detect) &&
!ras->ras_request_index) !ras->ras_request_index)
ras_increase_window(inode, ras, ra); ras_increase_window(inode, ras, ra);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment