Commit 8c74cb01 authored by Oleg Drokin's avatar Oleg Drokin Committed by Greg Kroah-Hartman

staging/lustre: Remove ccc_attr/conf_set()

These seem to be unused.
Signed-off-by: default avatarOleg Drokin <green@linuxhacker.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent af3ec53b
...@@ -289,12 +289,8 @@ void ccc_object_free(const struct lu_env *env, struct lu_object *obj); ...@@ -289,12 +289,8 @@ void ccc_object_free(const struct lu_env *env, struct lu_object *obj);
int ccc_lock_init(const struct lu_env *env, struct cl_object *obj, int ccc_lock_init(const struct lu_env *env, struct cl_object *obj,
struct cl_lock *lock, const struct cl_io *io, struct cl_lock *lock, const struct cl_io *io,
const struct cl_lock_operations *lkops); const struct cl_lock_operations *lkops);
int ccc_attr_set(const struct lu_env *env, struct cl_object *obj,
const struct cl_attr *attr, unsigned valid);
int ccc_object_glimpse(const struct lu_env *env, int ccc_object_glimpse(const struct lu_env *env,
const struct cl_object *obj, struct ost_lvb *lvb); const struct cl_object *obj, struct ost_lvb *lvb);
int ccc_conf_set(const struct lu_env *env, struct cl_object *obj,
const struct cl_object_conf *conf);
struct page *ccc_page_vmpage(const struct lu_env *env, struct page *ccc_page_vmpage(const struct lu_env *env,
const struct cl_page_slice *slice); const struct cl_page_slice *slice);
int ccc_page_is_under_lock(const struct lu_env *env, int ccc_page_is_under_lock(const struct lu_env *env,
......
...@@ -406,12 +406,6 @@ int ccc_lock_init(const struct lu_env *env, ...@@ -406,12 +406,6 @@ int ccc_lock_init(const struct lu_env *env,
return result; return result;
} }
int ccc_attr_set(const struct lu_env *env, struct cl_object *obj,
const struct cl_attr *attr, unsigned valid)
{
return 0;
}
int ccc_object_glimpse(const struct lu_env *env, int ccc_object_glimpse(const struct lu_env *env,
const struct cl_object *obj, struct ost_lvb *lvb) const struct cl_object *obj, struct ost_lvb *lvb)
{ {
...@@ -430,15 +424,6 @@ int ccc_object_glimpse(const struct lu_env *env, ...@@ -430,15 +424,6 @@ int ccc_object_glimpse(const struct lu_env *env,
return 0; return 0;
} }
int ccc_conf_set(const struct lu_env *env, struct cl_object *obj,
const struct cl_object_conf *conf)
{
/* TODO: destroy all pages attached to this object. */
return 0;
}
static void ccc_object_size_lock(struct cl_object *obj) static void ccc_object_size_lock(struct cl_object *obj)
{ {
struct inode *inode = ccc_object_inode(obj); struct inode *inode = ccc_object_inode(obj);
......
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