The patch titled reiserfs_fsync should only use barriers when they are enabled has been removed from the -mm tree. Its filename is reiserfs_fsync-should-only-use-barriers-when-they-are-enabled.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: reiserfs_fsync should only use barriers when they are enabled From: Chris Mason <mason@xxxxxxxx> make sure that reiserfs_fsync only triggers barriers when mounted with -o barrier=flush Signed-off-by: Chris Mason <mason@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/reiserfs/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/reiserfs/file.c~reiserfs_fsync-should-only-use-barriers-when-they-are-enabled fs/reiserfs/file.c --- a/fs/reiserfs/file.c~reiserfs_fsync-should-only-use-barriers-when-they-are-enabled +++ a/fs/reiserfs/file.c @@ -130,7 +130,7 @@ static int reiserfs_sync_file(struct fil reiserfs_write_lock(p_s_inode->i_sb); barrier_done = reiserfs_commit_for_inode(p_s_inode); reiserfs_write_unlock(p_s_inode->i_sb); - if (barrier_done != 1) + if (barrier_done != 1 && reiserfs_barrier_flush(p_s_inode->i_sb)) blkdev_issue_flush(p_s_inode->i_sb->s_bdev, NULL); if (barrier_done < 0) return barrier_done; _ Patches currently in -mm which might be from mason@xxxxxxxx are origin.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html