diff options
| author | David S. Miller <davem@davemloft.net> | 2013-01-29 15:32:13 -0500 | 
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2013-01-29 15:32:13 -0500 | 
| commit | f1e7b73acc26e8908af783bcd3a9900fd80688f5 (patch) | |
| tree | 9a9382fb7f12f1889020efb4bffa3f4a88589fc5 /fs/xfs/xfs_buf.h | |
| parent | 218774dc341f219bfcf940304a081b121a0e8099 (diff) | |
| parent | fc16e884a2320198b8cb7bc2fdcf6b4485e79709 (diff) | |
| download | olio-linux-3.10-f1e7b73acc26e8908af783bcd3a9900fd80688f5.tar.xz olio-linux-3.10-f1e7b73acc26e8908af783bcd3a9900fd80688f5.zip  | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Bring in the 'net' tree so that we can get some ipv4/ipv6 bug
fixes that some net-next work will build upon.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/xfs/xfs_buf.h')
| -rw-r--r-- | fs/xfs/xfs_buf.h | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_buf.h b/fs/xfs/xfs_buf.h index 23f5642480b..433a12ed7b1 100644 --- a/fs/xfs/xfs_buf.h +++ b/fs/xfs/xfs_buf.h @@ -151,7 +151,7 @@ typedef struct xfs_buf {  	struct page		**b_pages;	/* array of page pointers */  	struct page		*b_page_array[XB_PAGES]; /* inline pages */  	struct xfs_buf_map	*b_maps;	/* compound buffer map */ -	struct xfs_buf_map	b_map;		/* inline compound buffer map */ +	struct xfs_buf_map	__b_map;	/* inline compound buffer map */  	int			b_map_count;  	int			b_io_length;	/* IO size in BBs */  	atomic_t		b_pin_count;	/* pin count */ @@ -330,8 +330,8 @@ void xfs_buf_stale(struct xfs_buf *bp);   * In future, uncached buffers will pass the block number directly to the io   * request function and hence these macros will go away at that point.   */ -#define XFS_BUF_ADDR(bp)		((bp)->b_map.bm_bn) -#define XFS_BUF_SET_ADDR(bp, bno)	((bp)->b_map.bm_bn = (xfs_daddr_t)(bno)) +#define XFS_BUF_ADDR(bp)		((bp)->b_maps[0].bm_bn) +#define XFS_BUF_SET_ADDR(bp, bno)	((bp)->b_maps[0].bm_bn = (xfs_daddr_t)(bno))  static inline void xfs_buf_set_ref(struct xfs_buf *bp, int lru_ref)  {  |