diff options
Diffstat (limited to 'fs/xfs/xfs_buf.c')
-rw-r--r-- | fs/xfs/xfs_buf.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c index 263470075ea2..c7f0b77dcb00 100644 --- a/fs/xfs/xfs_buf.c +++ b/fs/xfs/xfs_buf.c | |||
@@ -34,12 +34,13 @@ | |||
34 | #include <linux/backing-dev.h> | 34 | #include <linux/backing-dev.h> |
35 | #include <linux/freezer.h> | 35 | #include <linux/freezer.h> |
36 | 36 | ||
37 | #include "xfs_sb.h" | 37 | #include "xfs_log_format.h" |
38 | #include "xfs_trans_resv.h" | 38 | #include "xfs_trans_resv.h" |
39 | #include "xfs_log.h" | 39 | #include "xfs_sb.h" |
40 | #include "xfs_ag.h" | 40 | #include "xfs_ag.h" |
41 | #include "xfs_mount.h" | 41 | #include "xfs_mount.h" |
42 | #include "xfs_trace.h" | 42 | #include "xfs_trace.h" |
43 | #include "xfs_log.h" | ||
43 | 44 | ||
44 | static kmem_zone_t *xfs_buf_zone; | 45 | static kmem_zone_t *xfs_buf_zone; |
45 | 46 | ||
@@ -590,7 +591,7 @@ found: | |||
590 | error = _xfs_buf_map_pages(bp, flags); | 591 | error = _xfs_buf_map_pages(bp, flags); |
591 | if (unlikely(error)) { | 592 | if (unlikely(error)) { |
592 | xfs_warn(target->bt_mount, | 593 | xfs_warn(target->bt_mount, |
593 | "%s: failed to map pages\n", __func__); | 594 | "%s: failed to map pagesn", __func__); |
594 | xfs_buf_relse(bp); | 595 | xfs_buf_relse(bp); |
595 | return NULL; | 596 | return NULL; |
596 | } | 597 | } |
@@ -809,7 +810,7 @@ xfs_buf_get_uncached( | |||
809 | error = _xfs_buf_map_pages(bp, 0); | 810 | error = _xfs_buf_map_pages(bp, 0); |
810 | if (unlikely(error)) { | 811 | if (unlikely(error)) { |
811 | xfs_warn(target->bt_mount, | 812 | xfs_warn(target->bt_mount, |
812 | "%s: failed to map pages\n", __func__); | 813 | "%s: failed to map pages", __func__); |
813 | goto fail_free_mem; | 814 | goto fail_free_mem; |
814 | } | 815 | } |
815 | 816 | ||
@@ -1618,7 +1619,7 @@ xfs_setsize_buftarg_flags( | |||
1618 | bdevname(btp->bt_bdev, name); | 1619 | bdevname(btp->bt_bdev, name); |
1619 | 1620 | ||
1620 | xfs_warn(btp->bt_mount, | 1621 | xfs_warn(btp->bt_mount, |
1621 | "Cannot set_blocksize to %u on device %s\n", | 1622 | "Cannot set_blocksize to %u on device %s", |
1622 | sectorsize, name); | 1623 | sectorsize, name); |
1623 | return EINVAL; | 1624 | return EINVAL; |
1624 | } | 1625 | } |