Commit e9d6122c authored by Rehas Sachdeva's avatar Rehas Sachdeva Committed by Greg Kroah-Hartman

staging: lustre: Fix block comment style

Fixes checkpatch.pl warning:
WARNING: Block comments use a trailing */ on a separate line.
Signed-off-by: default avatarRehas Sachdeva <aquannie@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b9aabfcc
...@@ -1410,7 +1410,8 @@ static int ldlm_prepare_lru_list(struct ldlm_namespace *ns, ...@@ -1410,7 +1410,8 @@ static int ldlm_prepare_lru_list(struct ldlm_namespace *ns,
* That is, for shrinker policy we drop only * That is, for shrinker policy we drop only
* old locks, but additionally choose them by * old locks, but additionally choose them by
* their weight. Big extent locks will stay in * their weight. Big extent locks will stay in
* the cache. */ * the cache.
*/
result = pf(ns, lock, unused, added, count); result = pf(ns, lock, unused, added, count);
if (result == LDLM_POLICY_KEEP_LOCK) { if (result == LDLM_POLICY_KEEP_LOCK) {
lu_ref_del(&lock->l_reference, lu_ref_del(&lock->l_reference,
...@@ -1700,7 +1701,8 @@ static int ldlm_cli_hash_cancel_unused(struct cfs_hash *hs, ...@@ -1700,7 +1701,8 @@ static int ldlm_cli_hash_cancel_unused(struct cfs_hash *hs,
* that have 0 readers/writers. * that have 0 readers/writers.
* *
* If flags & LCF_LOCAL, throw the locks away without trying * If flags & LCF_LOCAL, throw the locks away without trying
* to notify the server. */ * to notify the server.
*/
int ldlm_cli_cancel_unused(struct ldlm_namespace *ns, int ldlm_cli_cancel_unused(struct ldlm_namespace *ns,
const struct ldlm_res_id *res_id, const struct ldlm_res_id *res_id,
enum ldlm_cancel_flags flags, void *opaque) enum ldlm_cancel_flags flags, void *opaque)
......
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