aboutsummaryrefslogtreecommitdiff
path: root/sys/ufs/ufs
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2021-01-30 19:18:22 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2021-02-12 01:02:21 +0000
commit013168db8cea926c3dde1247d400d6bedf9a889d (patch)
treec22f6a0a2f68622feb75d0b585a6c8c877f2a139 /sys/ufs/ufs
parentb59a8e63d6bf9092419b7a421c655d0ae2099662 (diff)
downloadsrc-013168db8cea926c3dde1247d400d6bedf9a889d.tar.gz
src-013168db8cea926c3dde1247d400d6bedf9a889d.zip
ufs_inactive(): stop hiding ERELOOKUP from ffs_truncate(), return it.
VFS should retry inactivation when possible, then. This should provide timely removal of unlinked unreferenced inodes. Reviewed by: chs, mckusick Tested by: pho MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/ufs/ufs')
-rw-r--r--sys/ufs/ufs/ufs_inode.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/ufs/ufs/ufs_inode.c b/sys/ufs/ufs/ufs_inode.c
index 15bd8be448a9..46e4f8e54e41 100644
--- a/sys/ufs/ufs/ufs_inode.c
+++ b/sys/ufs/ufs/ufs_inode.c
@@ -212,8 +212,6 @@ out:
vrecycle(vp);
if (mp != NULL)
vn_finished_secondary_write(mp);
- if (error == ERELOOKUP)
- error = 0;
return (error);
}