aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/objlayout/objio_osd.c2
-rw-r--r--fs/nfs/objlayout/objlayout.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/objlayout/objio_osd.c b/fs/nfs/objlayout/objio_osd.c
index 88f9611a945c..5457745dd4f1 100644
--- a/fs/nfs/objlayout/objio_osd.c
+++ b/fs/nfs/objlayout/objio_osd.c
@@ -234,7 +234,7 @@ static int __alloc_objio_seg(unsigned numdevs, gfp_t gfp_flags,
234 234
235 lseg = kzalloc(lseg_size, gfp_flags); 235 lseg = kzalloc(lseg_size, gfp_flags);
236 if (unlikely(!lseg)) { 236 if (unlikely(!lseg)) {
237 dprintk("%s: Faild allocation numdevs=%d size=%zd\n", __func__, 237 dprintk("%s: Failed allocation numdevs=%d size=%zd\n", __func__,
238 numdevs, lseg_size); 238 numdevs, lseg_size);
239 return -ENOMEM; 239 return -ENOMEM;
240 } 240 }
diff --git a/fs/nfs/objlayout/objlayout.h b/fs/nfs/objlayout/objlayout.h
index 880ba086be94..87aa1dec6120 100644
--- a/fs/nfs/objlayout/objlayout.h
+++ b/fs/nfs/objlayout/objlayout.h
@@ -114,7 +114,7 @@ extern int objio_alloc_lseg(struct pnfs_layout_segment **outp,
114 gfp_t gfp_flags); 114 gfp_t gfp_flags);
115extern void objio_free_lseg(struct pnfs_layout_segment *lseg); 115extern void objio_free_lseg(struct pnfs_layout_segment *lseg);
116 116
117/* objio_free_result will free these @oir structs recieved from 117/* objio_free_result will free these @oir structs received from
118 * objlayout_{read,write}_done 118 * objlayout_{read,write}_done
119 */ 119 */
120extern void objio_free_result(struct objlayout_io_res *oir); 120extern void objio_free_result(struct objlayout_io_res *oir);