diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-10-15 15:47:41 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-11-04 14:43:39 -0500 |
commit | 4ea8fed593218b658927b763f02941cd16c2ed9d (patch) | |
tree | f7730ffff70dc3dcd7528d6dd197b9e78c7a14ad /fs/nfs/nfs4file.c | |
parent | deed85e760c8c88cd984c5921dd8cb6b697b6134 (diff) |
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.c | 1 |
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) | |||
20 | struct iattr attr; | 20 | struct iattr attr; |
21 | int err; | 21 | int err; |
22 | 22 | ||
23 | BUG_ON(inode != dentry->d_inode); | ||
24 | /* | 23 | /* |
25 | * If no cached dentry exists or if it's negative, NFSv4 handled the | 24 | * If no cached dentry exists or if it's negative, NFSv4 handled the |
26 | * opens in ->lookup() or ->create(). | 25 | * opens in ->lookup() or ->create(). |