On Fri, Feb 02, 2024 at 01:50:56PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann <arnd@xxxxxxxx> > > A newly introduced variable is only referenced in an #ifdef: > > fs/ntfs3/frecord.c: In function 'ni_read_frame': > fs/ntfs3/frecord.c:2460:16: error: unused variable 'i_size' [-Werror=unused-variable] > > Move it into the same conditional block. > > Fixes: 4fd6c08a16d7 ("fs/ntfs3: Use i_size_read and i_size_write") > Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx> Tested-by: Guenter Roeck <linux@xxxxxxxxxxxx>