diff options
author | tegge <tegge@FreeBSD.org> | 2005-10-09 20:49:01 +0000 |
---|---|---|
committer | tegge <tegge@FreeBSD.org> | 2005-10-09 20:49:01 +0000 |
commit | 50fa3035c37d9f5ab69fb304438efaca1d216e72 (patch) | |
tree | 0302f709edae71bb86ef5615520f3c672688b74f /sys/ufs | |
parent | ddad01d50f900652c8bb82a40e51e8b998857e9e (diff) | |
download | FreeBSD-src-50fa3035c37d9f5ab69fb304438efaca1d216e72.zip FreeBSD-src-50fa3035c37d9f5ab69fb304438efaca1d216e72.tar.gz |
Don't pretend that a failed sync write was succesful.
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ffs/ffs_vfsops.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index 111e7a7..c40d5bb 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -1660,9 +1660,7 @@ ffs_bufwrite(struct buf *bp) } /* Let the normal bufwrite do the rest for us */ - bufwrite(bp); - - return (0); + return (bufwrite(bp)); } |