tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

A brelse() in FFS...



Hi,
this may be a stupid question; in ufs/ffs/ffs_vfsops.c, l.1153:

	if (fs->fs_sbsize < SBLOCKSIZE)
		brelse(bp, BC_INVAL);
	else
		brelse(bp, 0);

However 'fs->fs_sbsize' is *always* smaller than SBLOCKSIZE. So only
the first branch is reached.

I don't understand what the BC_INVAL flag means, and its definition
in sys/buf.h is not very enlightening:

	#define	BC_INVAL	0x00002000	/* Does not contain valid info. */

Which branch do I keep?


Home | Main Index | Thread Index | Old Index