/* note: MOUNT record is at aggregate level, not at fileset level, since log records of previous mounts of a fileset (e.g., AFTER record of extent allocation) have to be processed to update block allocation map at aggregate level.  */
static int logMOUNT(struct super_block *sb)
/* note: MOUNT record is at aggregate level, not at fileset level, since log records of previous mounts of a fileset (e.g., AFTER record of extent allocation) have to be processed to update block allocation map at aggregate level.  */
static int logMOUNT(struct super_block *sb)
{
	struct jfs_log *log = JFS_SBI(sb)->log;
	struct lrd lrd;
	lrd.logtid = 0;
	lrd.backchain = 0;
	lrd.type = cpu_to_le16(LOG_MOUNT);
	lrd.length = 0;
	lrd.aggregate = cpu_to_le32(new_encode_dev(sb->s_bdev->bd_dev));
	lmLog(log, NULL, &lrd, NULL);
	return 0;
}