OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ea8fed
)
NFS: Remove BUG_ON()s in the fs/nfs/inode.c
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Mon, 15 Oct 2012 20:19:30 +0000
(16:19 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Sun, 4 Nov 2012 19:43:39 +0000
(14:43 -0500)
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/inode.c
patch
|
blob
|
history
diff --git
a/fs/nfs/inode.c
b/fs/nfs/inode.c
index
6fa01ae
..
117183b
100644
(file)
--- a/
fs/nfs/inode.c
+++ b/
fs/nfs/inode.c
@@
-112,8
+112,8
@@
void nfs_clear_inode(struct inode *inode)
/*
* The following should never happen...
*/
-
BUG_ON
(nfs_have_writebacks(inode));
-
BUG_ON
(!list_empty(&NFS_I(inode)->open_files));
+
WARN_ON_ONCE
(nfs_have_writebacks(inode));
+
WARN_ON_ONCE
(!list_empty(&NFS_I(inode)->open_files));
nfs_zap_acl_cache(inode);
nfs_access_zap_cache(inode);
nfs_fscache_release_inode_cookie(inode);