From 958bfec1c18be4d1a19a77a01f8bb7bb970f3e80 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 20 Jun 1995 15:58:31 +0000 Subject: (diskfs_node_rdwr): Remove assignment from if test. --- libdiskfs/node-rdwr.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libdiskfs/node-rdwr.c b/libdiskfs/node-rdwr.c index 4f4b461f..438b7426 100644 --- a/libdiskfs/node-rdwr.c +++ b/libdiskfs/node-rdwr.c @@ -41,8 +41,11 @@ diskfs_node_rdwr (struct node *np, if (dir) while (off + amt > np->allocsize) - if (err = diskfs_grow (np, off + amt, cred)) - return err; + { + err = diskfs_grow (np, off + amt, cred); + if (err) + return err; + } if (off + amt > np->dn_stat.st_size) { -- cgit v1.2.3