lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1181854724.3883.14.camel@dyn9047017103.beaverton.ibm.com>
Date:	Thu, 14 Jun 2007 13:58:43 -0700
From:	Mingming Cao <cmm@...ibm.com>
To:	Kalpak Shah <kalpak@...sterfs.com>
Cc:	linux-ext4 <linux-ext4@...r.kernel.org>,
	Andreas Dilger <adilger@...sterfs.com>,
	Jean noel Cordenner <jean-noel.cordenner@...l.net>
Subject: Re: [PATCH 1/6] Separated 64-bit i_version patch

On Thu, 2007-06-14 at 21:26 +0530, Kalpak Shah wrote:
> This patch converts the 32-bit i_version in the generic inode to a 64-
> bit
> i_version field.
> 
> Signed-off-by: Jean Noel Cordenner <jean-noel.cordenner@...l.net>
> Signed-off-by: Kalpak Shah <kalpak@...sterfs.com>
> 
> Index: linux-2.6.21/include/linux/fs.h
> ===================================================================
> --- linux-2.6.21.orig/include/linux/fs.h
> +++ linux-2.6.21/include/linux/fs.h
> @@ -549,7 +549,7 @@ struct inode {
>         uid_t                   i_uid;
>         gid_t                   i_gid;
>         dev_t                   i_rdev;
> -       unsigned long           i_version;
> +       uint64_t                i_version;
>         loff_t                  i_size;
>  #ifdef __NEED_I_SIZE_ORDERED
>         seqcount_t              i_size_seqcount;
> 
> 


I think u64 is better here. It seems uint64_t is not defined in some
cases and rarely being used.

Mingming

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ