mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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
This commit is contained in:
parent
6c5bc49c5a
commit
aef373ce38
1 changed files with 0 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue