]> git.baikalelectronics.ru Git - kernel.git/commit
cachefiles: Use file_inode() rather than accessing ->f_inode
authorDavid Howells <dhowells@redhat.com>
Thu, 3 Jun 2021 09:51:28 +0000 (10:51 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 25 Aug 2021 14:20:25 +0000 (15:20 +0100)
commit1607374da8e2b3ecd8bf8ac76ad3c882b200a424
treef1e3abf331b9d63d196bc08b1d14eaee7767cd21
parentd16ac69a469591654ea478c8d12b271ec31a7b3f
cachefiles: Use file_inode() rather than accessing ->f_inode

Use the file_inode() helper rather than accessing ->f_inode directly.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
cc: linux-cachefs@redhat.com
Link: https://lore.kernel.org/r/162431192403.2908479.4590814090994846904.stgit@warthog.procyon.org.uk/
fs/cachefiles/io.c