reiserfs is changed to use a version of reiserfs_get_block that is safe
for filling holes without i_mutex held.

Signed-off-by: Chris Mason <[EMAIL PROTECTED]>

diff -r bebaf8972a31 -r 5a06df98f46d fs/reiserfs/inode.c
--- a/fs/reiserfs/inode.c       Thu Dec 21 15:31:30 2006 -0500
+++ b/fs/reiserfs/inode.c       Thu Dec 21 15:31:31 2006 -0500
@@ -469,7 +469,8 @@ static int reiserfs_get_blocks_direct_io
        bh_result->b_size = (1 << inode->i_blkbits);
 
        ret = reiserfs_get_block(inode, iblock, bh_result,
-                                create | GET_BLOCK_NO_DANGLE);
+                                create | GET_BLOCK_NO_DANGLE |
+                                GET_BLOCK_NO_IMUX);
        if (ret)
                goto out;
 


-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to