diff options
Diffstat (limited to 'fs/nfs/nfs4filelayoutdev.c')
-rw-r--r-- | fs/nfs/nfs4filelayoutdev.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/nfs/nfs4filelayoutdev.c b/fs/nfs/nfs4filelayoutdev.c index 6eb59b044bfc..80fce8dade2e 100644 --- a/fs/nfs/nfs4filelayoutdev.c +++ b/fs/nfs/nfs4filelayoutdev.c | |||
@@ -554,7 +554,7 @@ decode_device(struct inode *ino, struct pnfs_device *pdev, gfp_t gfp_flags) | |||
554 | cnt = be32_to_cpup(p); | 554 | cnt = be32_to_cpup(p); |
555 | dprintk("%s stripe count %d\n", __func__, cnt); | 555 | dprintk("%s stripe count %d\n", __func__, cnt); |
556 | if (cnt > NFS4_PNFS_MAX_STRIPE_CNT) { | 556 | if (cnt > NFS4_PNFS_MAX_STRIPE_CNT) { |
557 | printk(KERN_WARNING "%s: stripe count %d greater than " | 557 | printk(KERN_WARNING "NFS: %s: stripe count %d greater than " |
558 | "supported maximum %d\n", __func__, | 558 | "supported maximum %d\n", __func__, |
559 | cnt, NFS4_PNFS_MAX_STRIPE_CNT); | 559 | cnt, NFS4_PNFS_MAX_STRIPE_CNT); |
560 | goto out_err_free_scratch; | 560 | goto out_err_free_scratch; |
@@ -585,7 +585,7 @@ decode_device(struct inode *ino, struct pnfs_device *pdev, gfp_t gfp_flags) | |||
585 | num = be32_to_cpup(p); | 585 | num = be32_to_cpup(p); |
586 | dprintk("%s ds_num %u\n", __func__, num); | 586 | dprintk("%s ds_num %u\n", __func__, num); |
587 | if (num > NFS4_PNFS_MAX_MULTI_CNT) { | 587 | if (num > NFS4_PNFS_MAX_MULTI_CNT) { |
588 | printk(KERN_WARNING "%s: multipath count %d greater than " | 588 | printk(KERN_WARNING "NFS: %s: multipath count %d greater than " |
589 | "supported maximum %d\n", __func__, | 589 | "supported maximum %d\n", __func__, |
590 | num, NFS4_PNFS_MAX_MULTI_CNT); | 590 | num, NFS4_PNFS_MAX_MULTI_CNT); |
591 | goto out_err_free_stripe_indices; | 591 | goto out_err_free_stripe_indices; |
@@ -593,7 +593,7 @@ decode_device(struct inode *ino, struct pnfs_device *pdev, gfp_t gfp_flags) | |||
593 | 593 | ||
594 | /* validate stripe indices are all < num */ | 594 | /* validate stripe indices are all < num */ |
595 | if (max_stripe_index >= num) { | 595 | if (max_stripe_index >= num) { |
596 | printk(KERN_WARNING "%s: stripe index %u >= num ds %u\n", | 596 | printk(KERN_WARNING "NFS: %s: stripe index %u >= num ds %u\n", |
597 | __func__, max_stripe_index, num); | 597 | __func__, max_stripe_index, num); |
598 | goto out_err_free_stripe_indices; | 598 | goto out_err_free_stripe_indices; |
599 | } | 599 | } |
@@ -687,7 +687,7 @@ decode_and_add_device(struct inode *inode, struct pnfs_device *dev, gfp_t gfp_fl | |||
687 | 687 | ||
688 | new = decode_device(inode, dev, gfp_flags); | 688 | new = decode_device(inode, dev, gfp_flags); |
689 | if (!new) { | 689 | if (!new) { |
690 | printk(KERN_WARNING "%s: Could not decode or add device\n", | 690 | printk(KERN_WARNING "NFS: %s: Could not decode or add device\n", |
691 | __func__); | 691 | __func__); |
692 | return NULL; | 692 | return NULL; |
693 | } | 693 | } |
@@ -836,7 +836,7 @@ nfs4_fl_prepare_ds(struct pnfs_layout_segment *lseg, u32 ds_idx) | |||
836 | struct nfs4_pnfs_ds *ds = dsaddr->ds_list[ds_idx]; | 836 | struct nfs4_pnfs_ds *ds = dsaddr->ds_list[ds_idx]; |
837 | 837 | ||
838 | if (ds == NULL) { | 838 | if (ds == NULL) { |
839 | printk(KERN_ERR "%s: No data server for offset index %d\n", | 839 | printk(KERN_ERR "NFS: %s: No data server for offset index %d\n", |
840 | __func__, ds_idx); | 840 | __func__, ds_idx); |
841 | return NULL; | 841 | return NULL; |
842 | } | 842 | } |