]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
exfat: fix implicit declaration of brelse()
authorNamjae Jeon <linkinjeon@kernel.org>
Wed, 13 May 2026 01:44:46 +0000 (10:44 +0900)
committerNamjae Jeon <linkinjeon@kernel.org>
Mon, 15 Jun 2026 10:55:52 +0000 (19:55 +0900)
commitf0d1b2e1e02c11e29c953f22a485449e3da2a575
tree97ed3a0e128fa710001cda9e4d1864d7b225e719
parent3b9450beeb961c7ddf4cccddba37fcfa6d1fcb7a
exfat: fix implicit declaration of brelse()

exfat_cluster_walk() calls brelse(bh) without including the header that
declares the function, causing the following build error:

    fs/exfat/exfat_fs.h:542:9: error: implicit declaration of function ‘brelse’ [-Werror=implicit-function-declaration]

Fix this by adding the missing buffer_head.h in exfat_fs.h.

Acked-by: Christoph Hellwig <hch@lst.de>
Acked-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
fs/exfat/exfat_fs.h