aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lustre/fld/fld_cache.c
diff options
context:
space:
mode:
authorXiong Zhou <jencce.kernel@gmail.com>2013-08-02 13:50:48 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-02 15:30:46 +0800
commit49126e47bf418081a4eb3686a8c736ca80da152c (patch)
treeb62a6a33b3c394586b97e0d42e3d8a18573b07e5 /drivers/staging/lustre/lustre/fld/fld_cache.c
parentstaging: ozwpan: Set farewell report length. (diff)
downloadlinux-dev-49126e47bf418081a4eb3686a8c736ca80da152c.tar.xz
linux-dev-49126e47bf418081a4eb3686a8c736ca80da152c.zip
staging/lustre: lloop depends on BLOCK
Add a config option for llite/lloop in lustre driver, making it depends on BLOCK to fix this better: drivers/staging/lustre/lustre/fid/../include/linux/lustre_compat25.h:117:2: error: implicit declaration of function ‘unregister_blkdev' Also, remove the wrapper ll_unregister_blkdev which depends on BLOCK in the header and just call unregister_blkdev in lloop.c based on Peng Tao's comment. Drop the redundant dependency on STAGING for LUSTRE_FS, remove some unnecessary jdb header files which depends on BLOCK btw. Signed-off-by: Xiong Zhou <jencce.kernel@gmail.com> Reviewed-by: Peng Tao <tao.peng@emc.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/fld/fld_cache.c')
-rw-r--r--drivers/staging/lustre/lustre/fld/fld_cache.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/fld/fld_cache.c b/drivers/staging/lustre/lustre/fld/fld_cache.c
index 347f2ae83bc8..84101076a656 100644
--- a/drivers/staging/lustre/lustre/fld/fld_cache.c
+++ b/drivers/staging/lustre/lustre/fld/fld_cache.c
@@ -45,7 +45,6 @@
# include <linux/libcfs/libcfs.h>
# include <linux/module.h>
-# include <linux/jbd.h>
# include <asm/div64.h>
#include <obd.h>