xfs
[Top] [All Lists]

Re: [PATCH 4/4] xfs: remove block number from inode lookup code

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH 4/4] xfs: remove block number from inode lookup code
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Fri, 18 Jun 2010 04:22:29 -0400
Cc: xfs@xxxxxxxxxxx, security@xxxxxxxxxx
In-reply-to: <1276846374-23916-5-git-send-email-david@xxxxxxxxxxxxx>
References: <1276846374-23916-1-git-send-email-david@xxxxxxxxxxxxx> <1276846374-23916-5-git-send-email-david@xxxxxxxxxxxxx>
User-agent: Mutt/1.5.20 (2009-08-17)
> -     ip->i_imap.im_blkno = bno;
> +     ip->i_imap.im_blkno = 0;
>       error = xfs_imap(mp, tp, ip->i_ino, &ip->i_imap, iget_flags);

The im_blkno initialization before calling xfs_imap can be removed now.

<Prev in Thread] Current Thread [Next in Thread>