xfs: remove unused XFS_MOUNT_ILOCK/XFS_MOUNT_IUNLOCK

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Friday, April 3, 2009 - 11:06 am

Gitweb:     http://git.kernel.org/linus/c52e9fd8a9d3ac019680ffa315c1a0689d401ce3
Commit:     c52e9fd8a9d3ac019680ffa315c1a0689d401ce3
Parent:     cb3f35bb3bf0759e00cd4f68155da9b636421f84
Author:     Christoph Hellwig <hch@lst.de>
AuthorDate: Wed Feb 4 09:34:34 2009 +0100
Committer:  Christoph Hellwig <hch@brick.lst.de>
CommitDate: Wed Feb 4 09:34:34 2009 +0100

    xfs: remove unused XFS_MOUNT_ILOCK/XFS_MOUNT_IUNLOCK
    
    These aren't only unused but also reference a lock that doesn't exist anymore.
    
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Reviewed-by: Felix Blyakher <felixb@sgi.com>
---
 fs/xfs/xfs_mount.h |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xfs_mount.h
index f5e9937..670c10e 100644
--- a/fs/xfs/xfs_mount.h
+++ b/fs/xfs/xfs_mount.h
@@ -500,9 +500,6 @@ typedef struct xfs_mod_sb {
 	int64_t		msb_delta;	/* Change to make to specified field */
 } xfs_mod_sb_t;
 
-#define	XFS_MOUNT_ILOCK(mp)	mutex_lock(&((mp)->m_ilock))
-#define	XFS_MOUNT_IUNLOCK(mp)	mutex_unlock(&((mp)->m_ilock))
-
 extern int	xfs_log_sbcount(xfs_mount_t *, uint);
 extern int	xfs_mountfs(xfs_mount_t *mp);
 extern void	xfs_mountfs_check_barriers(xfs_mount_t *mp);
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
xfs: remove unused XFS_MOUNT_ILOCK/XFS_MOUNT_IUNLOCK, Linux Kernel Mailing ..., (Fri Apr 3, 11:06 am)