diff options
Diffstat (limited to 'fs/xfs/xfs_trans_buf.c')
-rw-r--r-- | fs/xfs/xfs_trans_buf.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/fs/xfs/xfs_trans_buf.c b/fs/xfs/xfs_trans_buf.c index 7d65ebf1e847..b5b3a78ef31c 100644 --- a/fs/xfs/xfs_trans_buf.c +++ b/fs/xfs/xfs_trans_buf.c | |||
@@ -10,11 +10,9 @@ | |||
10 | #include "xfs_log_format.h" | 10 | #include "xfs_log_format.h" |
11 | #include "xfs_trans_resv.h" | 11 | #include "xfs_trans_resv.h" |
12 | #include "xfs_mount.h" | 12 | #include "xfs_mount.h" |
13 | #include "xfs_inode.h" | ||
14 | #include "xfs_trans.h" | 13 | #include "xfs_trans.h" |
15 | #include "xfs_buf_item.h" | 14 | #include "xfs_buf_item.h" |
16 | #include "xfs_trans_priv.h" | 15 | #include "xfs_trans_priv.h" |
17 | #include "xfs_error.h" | ||
18 | #include "xfs_trace.h" | 16 | #include "xfs_trace.h" |
19 | 17 | ||
20 | /* | 18 | /* |
@@ -174,8 +172,7 @@ xfs_trans_get_buf_map( | |||
174 | xfs_buf_t * | 172 | xfs_buf_t * |
175 | xfs_trans_getsb( | 173 | xfs_trans_getsb( |
176 | xfs_trans_t *tp, | 174 | xfs_trans_t *tp, |
177 | struct xfs_mount *mp, | 175 | struct xfs_mount *mp) |
178 | int flags) | ||
179 | { | 176 | { |
180 | xfs_buf_t *bp; | 177 | xfs_buf_t *bp; |
181 | struct xfs_buf_log_item *bip; | 178 | struct xfs_buf_log_item *bip; |
@@ -185,7 +182,7 @@ xfs_trans_getsb( | |||
185 | * if tp is NULL. | 182 | * if tp is NULL. |
186 | */ | 183 | */ |
187 | if (tp == NULL) | 184 | if (tp == NULL) |
188 | return xfs_getsb(mp, flags); | 185 | return xfs_getsb(mp); |
189 | 186 | ||
190 | /* | 187 | /* |
191 | * If the superblock buffer already has this transaction | 188 | * If the superblock buffer already has this transaction |
@@ -203,7 +200,7 @@ xfs_trans_getsb( | |||
203 | return bp; | 200 | return bp; |
204 | } | 201 | } |
205 | 202 | ||
206 | bp = xfs_getsb(mp, flags); | 203 | bp = xfs_getsb(mp); |
207 | if (bp == NULL) | 204 | if (bp == NULL) |
208 | return NULL; | 205 | return NULL; |
209 | 206 | ||
@@ -428,7 +425,7 @@ xfs_trans_brelse( | |||
428 | 425 | ||
429 | /* | 426 | /* |
430 | * Mark the buffer as not needing to be unlocked when the buf item's | 427 | * Mark the buffer as not needing to be unlocked when the buf item's |
431 | * iop_unlock() routine is called. The buffer must already be locked | 428 | * iop_committing() routine is called. The buffer must already be locked |
432 | * and associated with the given transaction. | 429 | * and associated with the given transaction. |
433 | */ | 430 | */ |
434 | /* ARGSUSED */ | 431 | /* ARGSUSED */ |