From 05dbea9fc4da02c6349d9e0b69656acb3254cfe8 Mon Sep 17 00:00:00 2001 From: Michael Meffie Date: Fri, 1 Aug 2014 18:27:35 -0400 Subject: [PATCH] libafs: fix error location code in LINUX/osi_export Fix the missing error location code introduced in commit 40fb2650b783fbafe51aefd3d0af7a6b0536c265 libafs: allocate vattrs in LINUX to reduce stack used Use location number 104, which is the next in the sequence. The code in this module is compiled when building the nfs translator, which is only built under linux when configure detects it is possible. Thanks to Andrew Deason for spotting this error. Change-Id: I00c834bc915fa3be7d5f27467895930e4f62aa76 Reviewed-on: http://gerrit.openafs.org/11351 Reviewed-by: Andrew Deason Tested-by: Andrew Deason Reviewed-by: Benjamin Kaduk Reviewed-by: D Brashear --- src/afs/LINUX/osi_export.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afs/LINUX/osi_export.c b/src/afs/LINUX/osi_export.c index b68f6b271..57c7f4549 100644 --- a/src/afs/LINUX/osi_export.c +++ b/src/afs/LINUX/osi_export.c @@ -473,7 +473,7 @@ static struct dentry *get_dentry_from_fid(cred_t *credp, struct VenusFid *afid) code = afs_CreateAttr(&vattr); if (code) { - return ERR_PTR(-afs_CheckCode(code, NULL, xxx)); + return ERR_PTR(-afs_CheckCode(code, NULL, 104)); } code = afs_CreateReq(&treq, credp); -- 2.39.5