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: <20081001231156.c52c98b5.akpm@linux-foundation.org>
Date:	Wed, 1 Oct 2008 23:11:56 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Mark Fasheh <mfasheh@...e.com>
Cc:	linux-kernel@...r.kernel.org, joel.becker@...cle.com,
	ocfs2-devel@....oracle.com, linux-fsdevel@...r.kernel.org,
	tao.ma@...cle.com, mfasheh@...e.com
Subject: Re: [PATCH 10/39] ocfs2: Add helper function in uptodate.c for
 removing xattr clusters

> On Wed, 24 Sep 2008 15:00:51 -0700 Mark Fasheh <mfasheh@...e.com> wrote:
> +/* Called when we remove xattr clusters from an inode. */
> +void ocfs2_remove_xattr_clusters_from_cache(struct inode *inode,
> +					    sector_t block,
> +					    u32 c_len)
> +{
> +	u64 i, b_len = ocfs2_clusters_to_blocks(inode->i_sb, 1) * c_len;
> +
> +	for (i = 0; i < b_len; i++, block++)
> +		ocfs2_remove_block_from_cache(inode, block);
> +}

I really really hope that `i' and `b_len' didn't really need to be
64-bit here.
--
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