Commit 772f34f5 authored by Anil Belur's avatar Anil Belur Committed by Greg Kroah-Hartman

staging: lustre: lclient: lcommon_cl.c fixing coding style issues

fixed: WARNING: Missing a blank line after declarations
Signed-off-by: default avatarAnil Belur <askb23@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2df2b3a8
...@@ -126,6 +126,7 @@ void ccc_key_fini(const struct lu_context *ctx, ...@@ -126,6 +126,7 @@ void ccc_key_fini(const struct lu_context *ctx,
struct lu_context_key *key, void *data) struct lu_context_key *key, void *data)
{ {
struct ccc_thread_info *info = data; struct ccc_thread_info *info = data;
OBD_SLAB_FREE_PTR(info, ccc_thread_kmem); OBD_SLAB_FREE_PTR(info, ccc_thread_kmem);
} }
...@@ -144,6 +145,7 @@ void ccc_session_key_fini(const struct lu_context *ctx, ...@@ -144,6 +145,7 @@ void ccc_session_key_fini(const struct lu_context *ctx,
struct lu_context_key *key, void *data) struct lu_context_key *key, void *data)
{ {
struct ccc_session *session = data; struct ccc_session *session = data;
OBD_SLAB_FREE_PTR(session, ccc_session_kmem); OBD_SLAB_FREE_PTR(session, ccc_session_kmem);
} }
...@@ -572,6 +574,7 @@ void ccc_lock_delete(const struct lu_env *env, ...@@ -572,6 +574,7 @@ void ccc_lock_delete(const struct lu_env *env,
void ccc_lock_fini(const struct lu_env *env, struct cl_lock_slice *slice) void ccc_lock_fini(const struct lu_env *env, struct cl_lock_slice *slice)
{ {
struct ccc_lock *clk = cl2ccc_lock(slice); struct ccc_lock *clk = cl2ccc_lock(slice);
OBD_SLAB_FREE_PTR(clk, ccc_lock_kmem); OBD_SLAB_FREE_PTR(clk, ccc_lock_kmem);
} }
...@@ -733,6 +736,7 @@ int ccc_io_one_lock(const struct lu_env *env, struct cl_io *io, ...@@ -733,6 +736,7 @@ int ccc_io_one_lock(const struct lu_env *env, struct cl_io *io,
loff_t start, loff_t end) loff_t start, loff_t end)
{ {
struct cl_object *obj = io->ci_obj; struct cl_object *obj = io->ci_obj;
return ccc_io_one_lock_index(env, io, enqflags, mode, return ccc_io_one_lock_index(env, io, enqflags, mode,
cl_index(obj, start), cl_index(obj, end)); cl_index(obj, start), cl_index(obj, end));
} }
......
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