PERFORCE change 178227 for review
Zheng Liu
lz at FreeBSD.org
Fri May 14 01:01:04 UTC 2010
http://p4web.freebsd.org/@@178227?ac=10
Change 178227 by lz at 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_ */
More information about the p4-projects
mailing list