]> www.infradead.org Git - users/dwmw2/linux.git/commit
coda: use param->file for FSCONFIG_SET_FD
authorAleksa Sarai <cyphar@cyphar.com>
Wed, 31 Jul 2024 13:10:28 +0000 (23:10 +1000)
committerChristian Brauner <brauner@kernel.org>
Mon, 19 Aug 2024 11:45:03 +0000 (13:45 +0200)
commit66e5cfee6280a361c429b6a6bfd66044e4644e86
treef6b4ec18f0691a4781630d0250ce9c14ee8ea2b9
parent6a64c5220c5df235448b846aeff3c0660d4cc83e
coda: use param->file for FSCONFIG_SET_FD

While the old code did support FSCONFIG_SET_FD, there's no need to
re-get the file the fs_context infrastructure already grabbed for us.

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Link: https://lore.kernel.org/r/20240731-fsconfig-fsparam_fd-fixes-v2-2-e7c472224417@cyphar.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/coda/inode.c