PERFORCE change 178229 for review

Zheng Liu lz at FreeBSD.org
Fri May 14 01:11:15 UTC 2010


http://p4web.freebsd.org/@@178229?ac=10

Change 178229 by lz at gnehzuil-freebsd on 2010/05/14 01:11:12

	       Add a lock to protect the ext2_rsv_win.

Affected files ...

.. //depot/projects/soc2010/extfs/src/sys/fs/ext2fs/inode.h#3 edit

Differences ...

==== //depot/projects/soc2010/extfs/src/sys/fs/ext2fs/inode.h#3 (text+ko) ====

@@ -102,7 +102,8 @@
 	u_int32_t	i_uid;		/* File owner. */
 	u_int32_t	i_gid;		/* File group. */
 
-	struct ext2_rsv_win_info *i_rsv_winp; /* Reservation window info */
+        struct mtx          i_rsv_lock; /* Protects i_rsv */
+	struct ext2_rsv_win i_rsv;      /* Reservation window */
 };
 
 /*


More information about the p4-projects mailing list