--- linux-2.5.64.orig/fs/nfsd/vfs.c 2003-03-17 11:36:39.000000000 +0100 +++ linux-2.5.64/fs/nfsd/vfs.c 2003-03-17 11:37:32.000000000 +0100 @@ -1190,7 +1190,9 @@ iap->ia_mode = (iap->ia_mode&S_IALLUGO) | S_IFLNK; err = notify_change(dnew, iap); - if (!err && EX_ISSYNC(fhp->fh_export)) + if (err) + err = nfserrno(err); + else if (EX_ISSYNC(fhp->fh_export)) write_inode_now(dentry->d_inode, 1); } }