From: Michael Meffie Date: Fri, 1 Aug 2014 22:27:35 +0000 (-0400) Subject: libafs: fix error location code in LINUX/osi_export X-Git-Tag: upstream/1.8.0_pre1^2~636 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=05dbea9fc4da02c6349d9e0b69656acb3254cfe8;p=packages%2Fo%2Fopenafs.git 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 --- 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);