diff options
-rw-r--r-- | fs/nfs/flexfilelayout/flexfilelayoutdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/flexfilelayout/flexfilelayoutdev.c b/fs/nfs/flexfilelayout/flexfilelayoutdev.c index 3bbb16b3066f..e2c01f204a95 100644 --- a/fs/nfs/flexfilelayout/flexfilelayoutdev.c +++ b/fs/nfs/flexfilelayout/flexfilelayoutdev.c | |||
@@ -515,10 +515,10 @@ int ff_layout_encode_ds_ioerr(struct nfs4_flexfile_layout *flo, | |||
515 | *p++ = cpu_to_be32(err->opnum); | 515 | *p++ = cpu_to_be32(err->opnum); |
516 | *count += 1; | 516 | *count += 1; |
517 | list_del(&err->list); | 517 | list_del(&err->list); |
518 | kfree(err); | ||
519 | dprintk("%s: offset %llu length %llu status %d op %d count %d\n", | 518 | dprintk("%s: offset %llu length %llu status %d op %d count %d\n", |
520 | __func__, err->offset, err->length, err->status, | 519 | __func__, err->offset, err->length, err->status, |
521 | err->opnum, *count); | 520 | err->opnum, *count); |
521 | kfree(err); | ||
522 | } | 522 | } |
523 | 523 | ||
524 | return 0; | 524 | return 0; |