DragonFly submit List (threaded) for 2006-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: ext2fs: missing braces
Csaba Henk wrote:
diff -r d2ecc0d1cbd4 sys/vfs/gnu/ext2fs/ext2_vnops.c
--- a/sys/vfs/gnu/ext2fs/ext2_vnops.c Tue Apr 25 22:11:28 2006 +0000
+++ b/sys/vfs/gnu/ext2fs/ext2_vnops.c Thu Apr 27 00:41:58 2006 +0200
@@ -1099,7 +1099,7 @@ ext2_symlink(struct vop_old_symlink_args
bcopy(ap->a_target, (char *)ip->i_shortlink, len);
ip->i_size = len;
ip->i_flag |= IN_CHANGE | IN_UPDATE;
- } else
+ } else {
/*
* Make sure we have a VM object in order to use
* the buffer cache.
@@ -1110,6 +1110,8 @@ ext2_symlink(struct vop_old_symlink_args
error = vn_rdwr(UIO_WRITE, vp, ap->a_target, len, (off_t)0,
UIO_SYSSPACE, IO_NODELOCKED, ap->a_cnp->cn_cred, (int *)0,
NULL);
+ }
+
if (error)
vput(vp);
return (error);
Committed, thx.
Sascha
--
http://yoyodyne.ath.cx
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]