Re: [PATCH 1/1] kpartx: Use __kernel_daddr_t for solaris_x86_slice.s_start

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

 



> -//typedef int daddr_t;		/* or long - check */
> -
>  struct solaris_x86_slice {
>  	unsigned short	s_tag;		/* ID tag of partition */
>  	unsigned short	s_flag;		/* permission flags */
> -	long		s_start;	/* start sector no of partition */
> +	__kernel_daddr_t s_start;	/* start sector no of partition */
>  	long		s_size;		/* # of blocks in partition */
>  };

What this really should use is fixed size types.

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux