| To: | Alex Elder <aelder@xxxxxxx>, Ben Myers <bpm@xxxxxxx>, xfs masters <xfs-masters@xxxxxxxxxxx>, xfs <xfs@xxxxxxxxxxx>, linux kernel <linux-kernel@xxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 2/2] xfs: cleanup XFS_BB_FSB_OFFSET |
| From: | Amit Sahrawat <amit.sahrawat83@xxxxxxxxx> |
| Date: | Fri, 6 Jan 2012 16:32:48 +0530 |
| Cc: | Christoph Hellwig <hch@xxxxxxxxxxxxx>, Dave Chinner <david@xxxxxxxxxxxxx>, Amit Sahrawat <amit.sahrawat83@xxxxxxxxx> |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=Hg1BIzWpdXBxkEZ9iEeZYRG+C7neEjsCH237nYUmUXo=; b=STSpYd6WyTvqNfvgJK/1Jfa0s2OkoGo6FwWtBGIeZS5uE9bLZBJOMNIYKk9EgcBpOg +tL8U0qu1snN9otbDQ26hBqpARDK7ijV8pc70MVRU74QR7MBbu8RS8dxadDiMNeX86/r IPGLcF7husm70dYP+d3NfKPIuKivdRc+YMrZo= |
| In-reply-to: | <1325848338-6063-1-git-send-email-amit.sahrawat83@xxxxxxxxx> |
| References: | <1325848338-6063-1-git-send-email-amit.sahrawat83@xxxxxxxxx> |
Courtesy: Dave Chinner Thanks & Regards, Amit Sahrawat On Fri, Jan 6, 2012 at 4:42 PM, Amit Sahrawat <amit.sahrawat83@xxxxxxxxx> wrote: > Removing the macro, as this is no more needed in the code. > Tried to find the reference when it was last used - but the usage > for this seemed to have been dropped long time ago. > > Signed-off-by: Amit Sahrawat <amit.sahrawat83@xxxxxxxxx> > --- > fs/xfs/xfs_sb.h | 1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > diff --git a/fs/xfs/xfs_sb.h b/fs/xfs/xfs_sb.h > index cb6ae71..f429d9d 100644 > --- a/fs/xfs/xfs_sb.h > +++ b/fs/xfs/xfs_sb.h > @@ -529,7 +529,6 @@ static inline int xfs_sb_version_hasprojid32bit(xfs_sb_t > *sbp) > #define XFS_BB_TO_FSB(mp,bb) \ > (((bb) + (XFS_FSB_TO_BB(mp,1) - 1)) >> (mp)->m_blkbb_log) > #define XFS_BB_TO_FSBT(mp,bb) ((bb) >> (mp)->m_blkbb_log) > -#define XFS_BB_FSB_OFFSET(mp,bb) ((bb) & ((mp)->m_bsize - 1)) > > /* > * File system block to byte conversions. > -- > 1.7.2.3 > |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 2/2] xfs: cleanup XFS_BB_FSB_OFFSET, Amit Sahrawat |
|---|---|
| Next by Date: | Re: [PATCH 1/1] xfs: serialise unaligned direct IOs, Christoph Hellwig |
| Previous by Thread: | [PATCH 2/2] xfs: cleanup XFS_BB_FSB_OFFSET, Amit Sahrawat |
| Next by Thread: | Re: [PATCH 2/2] xfs: cleanup XFS_BB_FSB_OFFSET, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |