staging/lustre: clean function declaration in cl_io.c up
authorBaoyou Xie <baoyou.xie@linaro.org>
Sat, 17 Sep 2016 13:24:08 +0000 (21:24 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Sep 2016 21:36:52 +0000 (23:36 +0200)
commitb3f863a6bce01196bf5298f1801a260595de75dd
treeee4753e35afab951113563b6f8e3da1da0f62bd3
parentaf78e1e8f245c014e51347ad2e767fad5bbc1459
staging/lustre: clean function declaration in cl_io.c up

We get 1 warning when building kernel with W=1:
drivers/staging/lustre/lustre/obdclass/cl_page.c:488:6: warning: no previous prototype for 'cl_page_disown0' [-Wmissing-prototypes]

In fact, this function is declared in
drivers/staging/lustre/lustre/obdclass/cl_io.c, but should be
removed in a header file. thus can be recognized in other file.

So this patch moves the declaration into
drivers/staging/lustre/lustre/include/cl_object.h.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/cl_object.h
drivers/staging/lustre/lustre/obdclass/cl_io.c