In ext2fs, BA_CLRBUF is used in ext2_balloc() not UFS_BALLOC().

Noted by:     kib
MFC after:    3 days
Sponsored by: Netflix
This commit is contained in:
Kirk McKusick 2020-12-08 00:49:31 +00:00
parent 3083b412e9
commit 645027c89d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=368425

View File

@ -141,7 +141,7 @@ void ext2_gd_csum_set(struct m_ext2fs *);
* blocks must be cleared and buffers for existing blocks must be read.
* When BA_CLRBUF is not set the buffer will be completely overwritten
* and there is no reason to clear them or to spend I/O fetching existing
* data. The BA_CLRBUF flag is handled in the UFS_BALLOC() functions.
* data. The BA_CLRBUF flag is handled in the ext2_balloc() functions.
*/
#define BA_CLRBUF 0x00010000 /* Clear invalid areas of buffer. */
#define BA_SEQMASK 0x7F000000 /* Bits holding seq heuristic. */