git: kernel - Fix incorrect assertion in ffs_reallocblks()
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Dec 27 16:44:39 PST 2014
commit e3fc69eb7932705c4ac3ff97665b59d2d8106992
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sat Dec 27 14:44:14 2014 -0800
kernel - Fix incorrect assertion in ffs_reallocblks()
* When softupdates is not enabled reallocblks should not try to free
an unallocated block. This appears to be possible if the reallocation
range covers part of a file with a hole in it. FSX appears to reveal
this case.
* It is also possible that this case is due to some interaction between
the DragonFly buffer cache and UFS that breaks b_offset assignment
assumptions made by UFS, but I couldn't find any particular vector
for the possibility.
Summary of changes:
sys/vfs/ufs/ffs_alloc.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e3fc69eb7932705c4ac3ff97665b59d2d8106992
--
DragonFly BSD source repository
More information about the Commits
mailing list