Date: Fri, 14 May 2010 01:01:03 GMT From: Zheng Liu <lz@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 178227 for review Message-ID: <201005140101.o4E113OD006937@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@178227?ac=10 Change 178227 by lz@gnehzuil-freebsd on 2010/05/14 01:00:52 Modify the reservation window structure. Affected files ... .. //depot/projects/soc2010/extfs/src/sys/fs/ext2fs/ext2_rsv_win.h#5 edit Differences ... ==== //depot/projects/soc2010/extfs/src/sys/fs/ext2fs/ext2_rsv_win.h#5 (text+ko) ==== @@ -63,22 +63,11 @@ } RB_PROTOTYPE(ext2_rsv_win_tree, ext2_rsv_win, rw_link, ext2_rsv_win_cmp); -/* - * Reservation window information - */ -struct ext2_rsv_win_info { - struct ext2_rsv_win rwi_entry; -#if 0 - u_int32_t rwi_last_logical_blk; /* Last allocated logical block */ - u_int32_t rwi_last_physical_blk; /* Last allocated physical block */ -#endif -}; - +struct inode; /* ext2_alloc.c */ -struct inode; -void ext2_init_rsv_win_info(struct inode *ip); -void ext2_discard_rsv_win(struct inode *ip); -int ext2_alloc_rsv(struct inode *, int32_t, int32_t, - int, struct ucred *, int32_t *); +void ext2_init_rsv(struct inode *ip); +void ext2_discard_rsv(struct inode *ip); +int ext2_alloc_rsv(struct inode *, int32_t, int32_t, + int, struct ucred *, int32_t *); #endif /* !_FS_EXT2FS_EXT2_EXTERN_H_ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005140101.o4E113OD006937>
