Staging: lustre: glimpse: Fix block comment style
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
Signed-off-by Shivani Bhardwaj <[email protected]>
--- drivers/staging/lustre/lustre/lclient/glimpse.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/staging/lustre/lustre/lclient/glimpse.c +4 -2
@@ -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
Greg KH
maintainerQuoted 9 lines · Shivani Bhardwaj
Block comments should be aligned correctly.
Fix checkpatch WARNING: Block comments use a trailing */ on a separate line
Signed-off-by Shivani Bhardwaj <[email protected]>--- drivers/staging/lustre/lustre/lclient/glimpse.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
What changed in v2? Please always let me know...