Re: [PATCH] xfs: avoid unused to_mp() function warning

2019-09-24 Thread Brian Foster
On Tue, Sep 24, 2019 at 05:53:50PM +0900, Austin Kim wrote: > to_mp() was first introduced with the following commit: > 'commit 801cc4e17a34c ("xfs: debug mode forced buffered write failure")' > > But the user of to_mp() was removed by below commit: > 'commit f8c47250ba46e ("xfs: convert drop_writ

[PATCH] xfs: avoid unused to_mp() function warning

2019-09-24 Thread Austin Kim
to_mp() was first introduced with the following commit: 'commit 801cc4e17a34c ("xfs: debug mode forced buffered write failure")' But the user of to_mp() was removed by below commit: 'commit f8c47250ba46e ("xfs: convert drop_writes to use the errortag mechanism")' So kernel build with clang throws