summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2011-09-08 04:14:16 +0000
committerae <ae@FreeBSD.org>2011-09-08 04:14:16 +0000
commit3f2d6e22bf0098f8f5abd77b7d5d13f5d6d9606b (patch)
tree24ce23462b5024bc481a59cca4ac09d635baac24 /sys/kern/vfs_subr.c
parentb64fa0490d80fdf799dfb862922a20fb1540bc37 (diff)
downloadFreeBSD-src-3f2d6e22bf0098f8f5abd77b7d5d13f5d6d9606b.zip
FreeBSD-src-3f2d6e22bf0098f8f5abd77b7d5d13f5d6d9606b.tar.gz
Don't use the whole free space when resizing partition to a larger size
on a disk with non zero stripesize (e.g. disks with 4k sector size)[1]. Also do not use automatic alignment when size is exactly specified, but an alignment is not. Use automatic alignment only for case when user omits both "-s" and "-a" options. Reported by: Mikael Fridh <frimik at gmail> [1] Approved by: re (kib) MFC after: 1 week
Diffstat (limited to 'sys/kern/vfs_subr.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud