diff options
author | kib <kib@FreeBSD.org> | 2015-05-31 15:50:54 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2015-05-31 15:50:54 +0000 |
commit | 63f29928778716094f08347c960d23e587ea1ef8 (patch) | |
tree | c92c5dd0ddad4ed7fd6daa1f16017bfc9ce66543 /sys/ufs | |
parent | f860fdb4f87b16ee560bab5ee87a8bd11bc579ad (diff) | |
download | FreeBSD-src-63f29928778716094f08347c960d23e587ea1ef8.zip FreeBSD-src-63f29928778716094f08347c960d23e587ea1ef8.tar.gz |
Remove unused variable.
When deallocate_dependencies() is performed,
softdep_journal_freeblocks() already called cancel_allocdirect() which
should have eliminated direct dependencies for all truncated full
blocks. The indirect dependencies are allowed above, since second-
and third-level dependencies are only dealt with by the code which
frees indirect block, which happens after the inode write.
Discussed with: mckusick, jeff
Reviewed by: jeff
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ffs/ffs_softdep.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c index 515857d..4fee265 100644 --- a/sys/ufs/ffs/ffs_softdep.c +++ b/sys/ufs/ffs/ffs_softdep.c @@ -7208,7 +7208,6 @@ deallocate_dependencies(bp, freeblks, off) { struct indirdep *indirdep; struct pagedep *pagedep; - struct allocdirect *adp; struct worklist *wk, *wkn; struct ufsmount *ump; @@ -7255,7 +7254,6 @@ deallocate_dependencies(bp, freeblks, off) break; case D_ALLOCDIRECT: - adp = WK_ALLOCDIRECT(wk); if (off != 0) continue; /* FALLTHROUGH */ |