| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH] kill t_sema member of struct xfs_trans |
| From: | Christoph Hellwig <hch@xxxxxx> |
| Date: | Thu, 7 Feb 2008 09:27:24 +0100 |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.3.28i |
It's completely unused so we might aswell kill it. Note that there is
another t_sema in struct xlog_ticket, which is used and actually an sv_t
despite the name. That one is left untouched by this patch.
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Index: linux-2.6-xfs/fs/xfs/xfs_trans.h
===================================================================
--- linux-2.6-xfs.orig/fs/xfs/xfs_trans.h 2008-02-05 08:48:40.000000000
+0100
+++ linux-2.6-xfs/fs/xfs/xfs_trans.h 2008-02-05 08:48:45.000000000 +0100
@@ -341,7 +341,6 @@ typedef struct xfs_trans {
unsigned int t_rtx_res; /* # of rt extents resvd */
unsigned int t_rtx_res_used; /* # of resvd rt extents used */
xfs_log_ticket_t t_ticket; /* log mgr ticket */
- sema_t t_sema; /* sema for commit completion */
xfs_lsn_t t_lsn; /* log seq num of start of
* transaction. */
xfs_lsn_t t_commit_lsn; /* log seq num of end of
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH V2] make inode reclaim synchronise with xfs_iflush_done(), David Chinner |
|---|---|
| Next by Date: | Re: [review] Remove the xfs refcache, Christoph Hellwig |
| Previous by Thread: | [PATCH V2] make inode reclaim synchronise with xfs_iflush_done(), Lachlan McIlroy |
| Next by Thread: | Re: [PATCH] kill t_sema member of struct xfs_trans, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |