Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 May 2010 01:11:14 GMT
From:      Zheng Liu <lz@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 178229 for review
Message-ID:  <201005140111.o4E1BEaZ008729@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@178229?ac=10

Change 178229 by lz@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 */
 };
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005140111.o4E1BEaZ008729>