mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 13:44:15 +08:00
NFS: Remove BUG_ON()s in the fs/nfs/inode.c
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
4ea8fed593
commit
f48407ddd4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user