diff options
author | pfg <pfg@FreeBSD.org> | 2014-01-24 20:26:00 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2014-01-24 20:26:00 +0000 |
commit | 145b8688cb8e51c396ea136976a95fb8250aafba (patch) | |
tree | 557e47c4d604130b9c8bb1f48158102ceebb0be0 | |
parent | 50a7eacf051d8b398f19ce7b50c3857552553516 (diff) | |
download | FreeBSD-src-145b8688cb8e51c396ea136976a95fb8250aafba.zip FreeBSD-src-145b8688cb8e51c396ea136976a95fb8250aafba.tar.gz |
ext2fs: Re-enable reallocblk.
The major corruption issues affecting this code have been fixed
a while ago.
MFC after: 1 week
-rw-r--r-- | sys/fs/ext2fs/ext2_alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/ext2fs/ext2_alloc.c b/sys/fs/ext2fs/ext2_alloc.c index b8ea159..50fcf04 100644 --- a/sys/fs/ext2fs/ext2_alloc.c +++ b/sys/fs/ext2fs/ext2_alloc.c @@ -147,11 +147,11 @@ nospace: static SYSCTL_NODE(_vfs, OID_AUTO, ext2fs, CTLFLAG_RW, 0, "EXT2FS filesystem"); -static int doasyncfree = 0; +static int doasyncfree = 1; SYSCTL_INT(_vfs_ext2fs, OID_AUTO, doasyncfree, CTLFLAG_RW, &doasyncfree, 0, "Use asychronous writes to update block pointers when freeing blocks"); -static int doreallocblks = 0; +static int doreallocblks = 1; SYSCTL_INT(_vfs_ext2fs, OID_AUTO, doreallocblks, CTLFLAG_RW, &doreallocblks, 0, ""); int |