Signed-off-by: Benny Halevy <benny@xxxxxxxxxx> --- fs/nfsd/pnfsd_lexp.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/nfsd/pnfsd_lexp.c b/fs/nfsd/pnfsd_lexp.c index 4d8bceb..52ab2d2 100644 --- a/fs/nfsd/pnfsd_lexp.c +++ b/fs/nfsd/pnfsd_lexp.c @@ -156,7 +156,7 @@ pnfsd_lexp_layout_get(struct inode *inode, layout = kzalloc(sizeof(*layout), GFP_KERNEL); if (layout == NULL) { - rc = -ENOMEM; + rc = NFS4ERR_DELAY; goto error; } @@ -173,7 +173,7 @@ pnfsd_lexp_layout_get(struct inode *inode, fhp = kmalloc(sizeof(*fhp), GFP_KERNEL); if (fhp == NULL) { - rc = -ENOMEM; + rc = NFS4ERR_DELAY; goto error; } -- 1.7.4.4 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html