diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index 1754a5cf7f..9caaf5a2a7 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -960,7 +960,7 @@ afs_notify_change(struct dentry *dp, struct iattr *iattrp) } AFS_GUNLOCK(); crfree(credp); - return -code; + return afs_convert_code(code); } static int diff --git a/src/afs/LINUX24/osi_vnodeops.c b/src/afs/LINUX24/osi_vnodeops.c index aebc051315..5821a74999 100644 --- a/src/afs/LINUX24/osi_vnodeops.c +++ b/src/afs/LINUX24/osi_vnodeops.c @@ -964,7 +964,7 @@ afs_notify_change(struct dentry *dp, struct iattr *iattrp) } AFS_GUNLOCK(); crfree(credp); - return -code; + return afs_convert_code(code); } /* Validate a dentry. Return 1 if unchanged, 0 if VFS layer should re-evaluate.