patch-2.4.22 linux-2.4.22/fs/nfsd/vfs.c
Next file: linux-2.4.22/fs/nls/Config.in
Previous file: linux-2.4.22/fs/nfsd/nfsfh.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
2003-08-25 04:44:43.000000000 -0700
- Orig file:
linux-2.4.21/fs/nfsd/vfs.c
- Orig date:
2003-06-13 07:51:37.000000000 -0700
diff -urN linux-2.4.21/fs/nfsd/vfs.c linux-2.4.22/fs/nfsd/vfs.c
@@ -1151,7 +1151,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);
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)