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] [day] [month] [year] [list]
Date:	Sat, 02 May 2009 12:23:52 +0900 (JST)
From:	Ryusuke Konishi <konishi.ryusuke@....ntt.co.jp>
To:	jack@...e.cz
Cc:	linux-kernel@...r.kernel.org, hch@...radead.org
Subject: Re: [PATCH 2/2] Use feature code to eliminate quota pointers from
 inodes for filesystems that don't need it.

On Thu, 30 Apr 2009 19:31:18 +0200, Jan Kara wrote:
> Signed-off-by: Jan Kara <jack@...e.cz>
> ---
>  fs/ext2/ext2.h     |    1 +
>  fs/ext2/super.c    |    5 ++
>  fs/inode.c         |    7 ++-
>  fs/nilfs2/mdt.c    |    3 -
>  fs/quota/dquot.c   |  134 ++++++++++++++++++++++++++++++----------------------
>  include/linux/fs.h |   10 +++-
>  6 files changed, 97 insertions(+), 63 deletions(-)

<snip>

> diff --git a/fs/nilfs2/mdt.c b/fs/nilfs2/mdt.c
> index 47dd815..725cd80 100644
> --- a/fs/nilfs2/mdt.c
> +++ b/fs/nilfs2/mdt.c
> @@ -478,9 +478,6 @@ nilfs_mdt_new_common(struct the_nilfs *nilfs, struct super_block *sb,
>  		inode->i_blocks = 0;
>  		inode->i_bytes = 0;
>  		inode->i_generation = 0;
> -#ifdef CONFIG_QUOTA
> -		memset(&inode->i_dquot, 0, sizeof(inode->i_dquot));
> -#endif
>  		inode->i_pipe = NULL;
>  		inode->i_bdev = NULL;
>  		inode->i_cdev = NULL;

Ack-by: Ryusuke Konishi <konishi.ryusuke@....ntt.co.jp>

<snip>

Thanks,
Ryusuke Konishi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ