summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/io-write.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libdiskfs/io-write.c b/libdiskfs/io-write.c
index 26e0be43..2967c4c8 100644
--- a/libdiskfs/io-write.c
+++ b/libdiskfs/io-write.c
@@ -56,7 +56,6 @@ diskfs_S_io_write (struct protid *cred,
goto out;
}
- err = 0;
while (off + (off_t) datalen > np->allocsize)
{
err = diskfs_grow (np, off + datalen, cred);