aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/cache_lib.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-10-15 15:47:41 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-11-04 14:43:39 -0500
commit4ea8fed593218b658927b763f02941cd16c2ed9d (patch)
treef7730ffff70dc3dcd7528d6dd197b9e78c7a14ad /fs/nfs/cache_lib.c
parentNFS: Remove BUG_ON() calls from the generic writeback code (diff)
downloadlinux-dev-4ea8fed593218b658927b763f02941cd16c2ed9d.tar.xz
linux-dev-4ea8fed593218b658927b763f02941cd16c2ed9d.zip
NFSv4: Get rid of unnecessary BUG_ON()s
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/cache_lib.c')
-rw-r--r--fs/nfs/cache_lib.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/cache_lib.c b/fs/nfs/cache_lib.c
index dded26368111..862a2f16db64 100644
--- a/fs/nfs/cache_lib.c
+++ b/fs/nfs/cache_lib.c
@@ -118,7 +118,6 @@ int nfs_cache_register_sb(struct super_block *sb, struct cache_detail *cd)
struct dentry *dir;
dir = rpc_d_lookup_sb(sb, "cache");
- BUG_ON(dir == NULL);
ret = sunrpc_cache_register_pipefs(dir, cd->name, 0600, cd);
dput(dir);
return ret;