]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
In nfs_rename(), skip the otw rename operation if the fsync (to
authorPaul Saab <ps@FreeBSD.org>
Fri, 10 Dec 2004 03:29:02 +0000 (03:29 +0000)
committerPaul Saab <ps@FreeBSD.org>
Fri, 10 Dec 2004 03:29:02 +0000 (03:29 +0000)
commit41bc38d1321bcf7591ac1059cf4f4d7b996bf123
tree889b6f766f0fc74262c9b197f639baf29977cb0c
parent4342aac774cea63d3515a134982223d44656ee81
In nfs_rename(), skip the otw rename operation if the fsync (to
either src or dst) fails. This closes a potential data loss case
(where the fsync failed with ENOSPC, for example).

Submitted by: Mohan Srinivasan mohans at yahoo-inc dot com
Obtained from: Yahoo!
sys/nfsclient/nfs_vnops.c