Commit 364b72e5 authored by Bhumika Goyal's avatar Bhumika Goyal Committed by Greg Kroah-Hartman

Staging:lustre:lclient:Remove unused function

Discard the function ccc_vmpage_page_transient as it is not used
anywhere in the kernel.
Used grep to find occurences.
Problem found using sparse.
Signed-off-by: default avatarBhumika Goyal <bhumirks@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 61382aa8
...@@ -985,17 +985,6 @@ struct inode *ccc_object_inode(const struct cl_object *obj) ...@@ -985,17 +985,6 @@ struct inode *ccc_object_inode(const struct cl_object *obj)
return cl2ccc(obj)->cob_inode; return cl2ccc(obj)->cob_inode;
} }
/**
* Returns a pointer to cl_page associated with \a vmpage, without acquiring
* additional reference to the resulting page. This is an unsafe version of
* cl_vmpage_page() that can only be used under vmpage lock.
*/
struct cl_page *ccc_vmpage_page_transient(struct page *vmpage)
{
KLASSERT(PageLocked(vmpage));
return (struct cl_page *)vmpage->private;
}
/** /**
* Initialize or update CLIO structures for regular files when new * Initialize or update CLIO structures for regular files when new
* meta-data arrives from the server. * meta-data arrives from the server.
......
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