Skip to contentSkip to conversation

Staging: lustre: glimpse: Fix block comment style

PATCH In review Shivani Bhardwaj 2 participants 2 messages Oct 18, 2015 – Oct 25, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Staging: lustre: glimpse: Fix block comment style

Block comments should be aligned correctly.

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

---
 drivers/staging/lustre/lustre/lclient/glimpse.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/staging/lustre/lustre/lclient/glimpse.c +4 -2
index 8533a1e..0e2bdbe 100644
@@ -97,7 +97,8 @@ int cl_glimpse_lock(const struct lu_env *env, struct cl_io *io,
 	if (!(lli->lli_flags & LLIF_MDS_SIZE_LOCK)) {
 		CDEBUG(D_DLMTRACE, "Glimpsing inode "DFID"\n", PFID(fid));
 		if (lli->lli_has_smd) {
-			/* NOTE: this looks like DLM lock request, but it may
+			/* 
+			 * NOTE: this looks like DLM lock request, but it may
 			 *       not be one. Due to CEF_ASYNC flag (translated
 			 *       to LDLM_FL_HAS_INTENT by osc), this is
 			 *       glimpse request, that won't revoke any
@@ -109,7 +110,8 @@ int cl_glimpse_lock(const struct lu_env *env, struct cl_io *io,
 			 *       if there were no conflicting locks. If there
 			 *       were conflicting locks, enqueuing or waiting
 			 *       fails with -ENAVAIL, but valid inode
-			 *       attributes are returned anyway. */
+			 *       attributes are returned anyway.
+			 */
 			*descr = whole_file;
 			descr->cld_obj   = clob;
 			descr->cld_mode  = CLM_PHANTOM;
Signature · 1 line
2.1.0
maintainer
#1 lore raw
Quoted 9 lines · Shivani Bhardwaj

Block comments should be aligned correctly.

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

---
 drivers/staging/lustre/lustre/lclient/glimpse.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

What changed in v2? Please always let me know...