diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-10-15 16:19:30 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-11-04 14:43:39 -0500 |
commit | f48407ddd46bd215a7b4e1af3940e759a93640c5 (patch) | |
tree | c57be1f41cae54bbad4023eed5f062b25b59674a | |
parent | 4ea8fed593218b658927b763f02941cd16c2ed9d (diff) |
NFS: Remove BUG_ON()s in the fs/nfs/inode.c
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
-rw-r--r-- | fs/nfs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index 6fa01aea2488..117183b1ee09 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c | |||
@@ -112,8 +112,8 @@ void nfs_clear_inode(struct inode *inode) | |||
112 | /* | 112 | /* |
113 | * The following should never happen... | 113 | * The following should never happen... |
114 | */ | 114 | */ |
115 | BUG_ON(nfs_have_writebacks(inode)); | 115 | WARN_ON_ONCE(nfs_have_writebacks(inode)); |
116 | BUG_ON(!list_empty(&NFS_I(inode)->open_files)); | 116 | WARN_ON_ONCE(!list_empty(&NFS_I(inode)->open_files)); |
117 | nfs_zap_acl_cache(inode); | 117 | nfs_zap_acl_cache(inode); |
118 | nfs_access_zap_cache(inode); | 118 | nfs_access_zap_cache(inode); |
119 | nfs_fscache_release_inode_cookie(inode); | 119 | nfs_fscache_release_inode_cookie(inode); |