Displaying 2 results from an estimated 2 matches for "s_dev_size".
Did you mean:
  dev_size
  
2008 Mar 03
0
[PATCH] nilfs2 support for fstype
...nst void *buf, unsigned long long *bytes)
+{
+	const struct nilfs_super_block *sb =
+	    (const struct nilfs_super_block *)buf;
+
+	if (sb->s_magic == __cpu_to_le16(NILFS_SUPER_MAGIC) &&
+	    sb->s_rev_level == __cpu_to_le32(2)) {
+		*bytes = (unsigned long long)__le64_to_cpu(sb->s_dev_size);
+		return 1;
+	}
+	return 0;
+}
+
 struct imagetype {
 	off_t block;
 	const char name[12];
@@ -354,6 +368,7 @@
 	{1, "ext3", ext3_image},
 	{1, "ext2", ext2_image},
 	{1, "minix", minix_image},
+	{1, "nilfs2", nilfs2_image},
 	{2, "ocfs2", ocfs2_...
2008 Mar 25
2
bunch of small fixes
hello hpa,
nothing particular stands out,
just syncing with latest Debian upload and subsequent patch emails.
please review merge or nack.
thanks :)
maks
git pull git://git.debian.org/~maks/klibc.git maks
for the changes:
Aaron Griffin (1):
      [klibc] kinit: skip md assembly if mdX exists
Colin Watson (1):
      [klibc] mount/umount FUSE support
Harald Jenny (1):
      [klibc] fstype: