diff options
Diffstat (limited to 'fs/xfs/xfs_buf.c')
-rw-r--r-- | fs/xfs/xfs_buf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c index 82b70bda9f47..1b2472a46e46 100644 --- a/fs/xfs/xfs_buf.c +++ b/fs/xfs/xfs_buf.c | |||
@@ -513,6 +513,7 @@ _xfs_buf_find( | |||
513 | xfs_alert(btp->bt_mount, | 513 | xfs_alert(btp->bt_mount, |
514 | "%s: Block out of range: block 0x%llx, EOFS 0x%llx ", | 514 | "%s: Block out of range: block 0x%llx, EOFS 0x%llx ", |
515 | __func__, blkno, eofs); | 515 | __func__, blkno, eofs); |
516 | WARN_ON(1); | ||
516 | return NULL; | 517 | return NULL; |
517 | } | 518 | } |
518 | 519 | ||
@@ -1649,7 +1650,7 @@ xfs_alloc_buftarg( | |||
1649 | { | 1650 | { |
1650 | xfs_buftarg_t *btp; | 1651 | xfs_buftarg_t *btp; |
1651 | 1652 | ||
1652 | btp = kmem_zalloc(sizeof(*btp), KM_SLEEP); | 1653 | btp = kmem_zalloc(sizeof(*btp), KM_SLEEP | KM_NOFS); |
1653 | 1654 | ||
1654 | btp->bt_mount = mp; | 1655 | btp->bt_mount = mp; |
1655 | btp->bt_dev = bdev->bd_dev; | 1656 | btp->bt_dev = bdev->bd_dev; |