Message ID | 1307997758-21235-1-git-send-email-benny@tonian.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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; }
Signed-off-by: Benny Halevy <benny@tonian.com> --- fs/nfsd/pnfsd_lexp.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)