Re: [PATCH 094/110] xfs: support in-memory btrees

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>  /* no readahead, need to avoid set-but-unused var warnings. */
>  #define xfs_buf_readahead(a,d,c,ops)		({	\
> +	void *__a = a;					\
>  	xfs_daddr_t __d = d;				\
> +	__a = __a;					\
>  	__d = __d; /* no set-but-unused warning */	\

What about turning this into an inline function instead of piling
more hacks like this onto the existing ones?




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux