]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
fs/ntfs3: fix build without CONFIG_NTFS3_LZX_XPRESS
authorMark O'Donovan <shiftee@posteo.net>
Wed, 21 Feb 2024 10:43:58 +0000 (10:43 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 2 Mar 2024 17:23:09 +0000 (18:23 +0100)
commitaf0d04f02145f09564aa1ae8eacac07bfb570eb3
treec80f7c89652d6b8694a514ec66c7150f5da141e9
parent0700f4e154f88d6ddf4913fa2fce5c6e0314960a
fs/ntfs3: fix build without CONFIG_NTFS3_LZX_XPRESS

commit c8e314624a1666ed2eec28549713021a8ec801e9 upstream.

When CONFIG_NTFS3_LZX_XPRESS is not set then we get the following build
error:

  fs/ntfs3/frecord.c:2460:16: error: unused variable ‘i_size’

Signed-off-by: Mark O'Donovan <shiftee@posteo.net>
Fixes: 4fd6c08a16d7 ("fs/ntfs3: Use i_size_read and i_size_write")
Tested-by: Chris Clayton <chris2553@googlemail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Reported-by: Rainer Fiebig <jrf@mailbox.org>
Cc: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ntfs3/frecord.c