]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
f2fs: Mark some functions as taking a const page pointer
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 18 Feb 2025 05:51:49 +0000 (05:51 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Mar 2025 17:02:25 +0000 (17:02 +0000)
commit521a468486906b5e16fd70ad030e4826d4009079
tree16368175cd9783cd368c1955d980a48a501edc04
parentfb9660481e3ccb26143c0596420487513383e940
f2fs: Mark some functions as taking a const page pointer

The compiler can make some optimisations if we tell it that a function
call doesn't change this memory.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
fs/f2fs/node.h