summaryrefslogtreecommitdiffstats
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
parentdeed85e760c8c88cd984c5921dd8cb6b697b6134 (diff)
downloadop-kernel-dev-4ea8fed593218b658927b763f02941cd16c2ed9d.zip
op-kernel-dev-4ea8fed593218b658927b763f02941cd16c2ed9d.tar.gz
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 dded263..862a2f1 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;
OpenPOWER on IntegriCloud