]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fs/backing_file: fix wrong argument in callback
authorAmir Goldstein <amir73il@gmail.com>
Tue, 26 Nov 2024 14:53:42 +0000 (15:53 +0100)
committerChristian Brauner <brauner@kernel.org>
Tue, 26 Nov 2024 17:13:29 +0000 (18:13 +0100)
commit2957fa4931a3b658d8e54eda9439d4c57967e8ad
treede8eef2009327f822907184d9949e81beae43681
parente7675238b9bf4db0b872d5dbcd53efa31914c98f
fs/backing_file: fix wrong argument in callback

Commit 48b50624aec4 ("backing-file: clean up the API") unintentionally
changed the argument in the ->accessed() callback from the user file to
the backing file.

Fixes: 48b50624aec4 ("backing-file: clean up the API")
Reported-by: syzbot+8d1206605b05ca9a0e6a@syzkaller.appspotmail.com
Closes: https://lore.kernel.org/linux-unionfs/67447b3c.050a0220.1cc393.0085.GAE@google.com/
Tested-by: syzbot+8d1206605b05ca9a0e6a@syzkaller.appspotmail.com
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Link: https://lore.kernel.org/r/20241126145342.364869-1-amir73il@gmail.com
Acked-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/backing-file.c