summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authortegge <tegge@FreeBSD.org>2005-10-09 20:49:01 +0000
committertegge <tegge@FreeBSD.org>2005-10-09 20:49:01 +0000
commit50fa3035c37d9f5ab69fb304438efaca1d216e72 (patch)
tree0302f709edae71bb86ef5615520f3c672688b74f /sys
parentddad01d50f900652c8bb82a40e51e8b998857e9e (diff)
downloadFreeBSD-src-50fa3035c37d9f5ab69fb304438efaca1d216e72.zip
FreeBSD-src-50fa3035c37d9f5ab69fb304438efaca1d216e72.tar.gz
Don't pretend that a failed sync write was succesful.
Diffstat (limited to 'sys')
-rw-r--r--sys/ufs/ffs/ffs_vfsops.c4
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));
}
OpenPOWER on IntegriCloud