aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_buf.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_buf.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_buf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_buf.c b/fs/xfs/linux-2.6/xfs_buf.c
index 77b8be81c769..ddd2fc203498 100644
--- a/fs/xfs/linux-2.6/xfs_buf.c
+++ b/fs/xfs/linux-2.6/xfs_buf.c
@@ -236,7 +236,7 @@ _xfs_buf_initialize(
236 init_completion(&bp->b_iowait); 236 init_completion(&bp->b_iowait);
237 INIT_LIST_HEAD(&bp->b_list); 237 INIT_LIST_HEAD(&bp->b_list);
238 INIT_LIST_HEAD(&bp->b_hash_list); 238 INIT_LIST_HEAD(&bp->b_hash_list);
239 init_MUTEX_LOCKED(&bp->b_sema); /* held, no waiters */ 239 sema_init(&bp->b_sema, 0); /* held, no waiters */
240 XB_SET_OWNER(bp); 240 XB_SET_OWNER(bp);
241 bp->b_target = target; 241 bp->b_target = target;
242 bp->b_file_offset = range_base; 242 bp->b_file_offset = range_base;