kernels/linux-2.4.0/fs/affs/bitmap.c
/* Allocate a new header block. */
Allocate a new header block.
Allocate a new header block .
s32
affs_new_header(struct inode *inode)
{
	s32			 block;
	pr_debug("AFFS: new_header(ino=%lu)\n",inode->i_ino);
	if (!(block = affs_balloc(inode,0))) {
		while (affs_find_new_zone(inode->i_sb,0)) {
			if ((block = affs_balloc(inode,0)))
				return block;
			schedule();
		}
		return 0;
	}
	return block;
}
s32 affs_new_header ( struct inode * inode ) { s32 block ; pr_debug ( " \n " , inode -> i_ino ) ; if ( ! ( block = affs_balloc ( inode , 0 ) ) ) { while ( affs_find_new_zone ( inode -> i_sb , 0 ) ) { if ( ( block = affs_balloc ( inode , 0 ) ) ) return block ; schedule ( ) ; } return 0 ; } return block ; }
Allocate a new header block.
Allocate a new header block .