summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4file.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-10-15 21:47:41 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-11-04 20:43:39 +0100
commit4ea8fed593218b658927b763f02941cd16c2ed9d (patch)
treef7730ffff70dc3dcd7528d6dd197b9e78c7a14ad /fs/nfs/nfs4file.c
parentNFS: Remove BUG_ON() calls from the generic writeback code (diff)
downloadlinux-4ea8fed593218b658927b763f02941cd16c2ed9d.tar.xz
linux-4ea8fed593218b658927b763f02941cd16c2ed9d.zip
NFSv4: Get rid of unnecessary BUG_ON()s
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4file.c')
-rw-r--r--fs/nfs/nfs4file.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/nfs4file.c b/fs/nfs/nfs4file.c
index afddd6639afb..e7699308364a 100644
--- a/fs/nfs/nfs4file.c
+++ b/fs/nfs/nfs4file.c
@@ -20,7 +20,6 @@ nfs4_file_open(struct inode *inode, struct file *filp)
struct iattr attr;
int err;
- BUG_ON(inode != dentry->d_inode);
/*
* If no cached dentry exists or if it's negative, NFSv4 handled the
* opens in ->lookup() or ->create().