]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When creating a directory entry for the journal, always read at least
authorKonstantin Belousov <kib@FreeBSD.org>
Sat, 12 Feb 2011 13:12:45 +0000 (13:12 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Sat, 12 Feb 2011 13:12:45 +0000 (13:12 +0000)
commite605011a00536845191197fc899bc40aac56256e
treee21961bc35aa5d00dd5a5cf0f21793148229a3fc
parent455a6e0ff39e15904f6bdcbf04e8b8015e7043ca
When creating a directory entry for the journal, always read at least
the fragment, and write the full block. Reading less might not work
due to device sector size bigger then size of direntries in the
last directory fragment.

Reported by: bz
In collaboration with: pho
Reviewed by: jeff
Tested by: bz, pho
sbin/tunefs/tunefs.c