diff options
author | Christoph Hellwig <hch@infradead.org> | 2012-02-19 21:31:22 -0500 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-02-22 23:17:00 -0500 |
commit | 5b03ff1b2444ddf7b8084b7505101e97257aff5a (patch) | |
tree | 25f783fa62973601e40d6af29ccf44a51b35267a /fs/xfs/xfs_dquot.h | |
parent | 3af1de753b3caf9fa3762b4b1b85d833c121847e (diff) |
xfs: remove xfs_trans_unlocked_item
There is no reason to wake up log space waiters when unlocking inodes or
dquots, and the commit log has no explanation for this function either.
Given that we now have exact log space wakeups everywhere we can assume
the reason for this function was to paper over log space races in earlier
XFS versions.
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_dquot.h')
-rw-r--r-- | fs/xfs/xfs_dquot.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_dquot.h b/fs/xfs/xfs_dquot.h index 48a795b141b6..60b0d72b0241 100644 --- a/fs/xfs/xfs_dquot.h +++ b/fs/xfs/xfs_dquot.h | |||
@@ -110,7 +110,7 @@ static inline void xfs_dqlock(struct xfs_dquot *dqp) | |||
110 | mutex_lock(&dqp->q_qlock); | 110 | mutex_lock(&dqp->q_qlock); |
111 | } | 111 | } |
112 | 112 | ||
113 | static inline void xfs_dqunlock_nonotify(struct xfs_dquot *dqp) | 113 | static inline void xfs_dqunlock(struct xfs_dquot *dqp) |
114 | { | 114 | { |
115 | mutex_unlock(&dqp->q_qlock); | 115 | mutex_unlock(&dqp->q_qlock); |
116 | } | 116 | } |
@@ -166,7 +166,6 @@ extern int xfs_qm_dqget(xfs_mount_t *, xfs_inode_t *, | |||
166 | extern void xfs_qm_dqput(xfs_dquot_t *); | 166 | extern void xfs_qm_dqput(xfs_dquot_t *); |
167 | 167 | ||
168 | extern void xfs_dqlock2(struct xfs_dquot *, struct xfs_dquot *); | 168 | extern void xfs_dqlock2(struct xfs_dquot *, struct xfs_dquot *); |
169 | extern void xfs_dqunlock(struct xfs_dquot *); | ||
170 | extern void xfs_dqflock_pushbuf_wait(struct xfs_dquot *dqp); | 169 | extern void xfs_dqflock_pushbuf_wait(struct xfs_dquot *dqp); |
171 | 170 | ||
172 | static inline struct xfs_dquot *xfs_qm_dqhold(struct xfs_dquot *dqp) | 171 | static inline struct xfs_dquot *xfs_qm_dqhold(struct xfs_dquot *dqp) |