e2fsprogs/e2fsprogs-1.42-voidreturn_value_declared.patch
OBS User jankara fcf0c12c54 update to 1.42
Rev filesystems/22 Md5 787d7eb03cbf1ac71bfe45d5b274f9b9 2012-01-16 19:28:03 jankara 100294
2012-01-16 19:28:03 +00:00

14 lines
447 B
Diff

--- lib/quota/quotaio.c.orig 2012-01-12 20:39:27.146300136 -0500
+++ lib/quota/quotaio.c 2012-01-12 20:39:41.591119555 -0500
@@ -142,8 +142,8 @@
return err;
inode.i_dtime = fs->now ? fs->now : time(0);
- if (!ext2fs_inode_has_valid_blocks2(fs, &inode))
- return;
+ if (!(err = ext2fs_inode_has_valid_blocks2(fs, &inode)) )
+ return err;
ext2fs_block_iterate3(fs, ino, BLOCK_FLAG_READ_ONLY, NULL,
release_blocks_proc, NULL);