Re: [PATCH, RFC] mke2fs: get device topology values from blkid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Karel Zak wrote:
On Thu, Sep 17, 2009 at 05:22:49PM -0500, Eric Sandeen wrote:
+static errcode_t ext2fs_get_device_geometry(const char *file,
+					    struct ext2_super_block *fs_param)
+{

...

+	fs_param->s_raid_stride = min_io / blocksize;
+	fs_param->s_raid_stripe_width = opt_io / blocksize;
+	rc = 0;
+out:

   blkid_free_probe(pr);

just in case you want to keep valgrind mem-leak checkers silent :-)

ok :) If you haven't already updated your mkfs sample (blkid/samples/mkfs.c), now's the time to do so; I'll blame my error on cut and paste. :)

Thanks,
-Eric

+	close(fd);
+	return rc;
+}

    Karel

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux