diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfs/pnfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c index d066aad608ad..8f9582281252 100644 --- a/fs/nfs/pnfs.c +++ b/fs/nfs/pnfs.c | |||
@@ -652,6 +652,7 @@ _pnfs_return_layout(struct inode *ino) | |||
652 | lrp = kzalloc(sizeof(*lrp), GFP_KERNEL); | 652 | lrp = kzalloc(sizeof(*lrp), GFP_KERNEL); |
653 | if (unlikely(lrp == NULL)) { | 653 | if (unlikely(lrp == NULL)) { |
654 | status = -ENOMEM; | 654 | status = -ENOMEM; |
655 | put_layout_hdr(lo); | ||
655 | goto out; | 656 | goto out; |
656 | } | 657 | } |
657 | 658 | ||