diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-06-20 15:58:31 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-06-20 15:58:31 +0000 |
commit | 958bfec1c18be4d1a19a77a01f8bb7bb970f3e80 (patch) | |
tree | d2aa970cc91d52ba7d9d2811611607300a3b6bf9 | |
parent | 072bde577bdbcb16a1c32520d0259c085d4c84b7 (diff) |
(diskfs_node_rdwr): Remove assignment from if test.
-rw-r--r-- | libdiskfs/node-rdwr.c | 7 |
1 files 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) { |