summaryrefslogtreecommitdiffstats
path: root/fs/nfs/cache_lib.h
diff options
context:
space:
mode:
authorChristoph Hellwig2019-05-01 18:06:35 +0200
committerAnna Schumaker2019-05-09 22:26:57 +0200
commita46126ccc77e764429d63bf958d117f607f4b6c6 (patch)
tree00cd9f45890ffa99dacfe50924142db80ea63485 /fs/nfs/cache_lib.h
parentNFSv4: don't mark all open state for recovery when handling recallable state ... (diff)
downloadkernel-qcow2-linux-a46126ccc77e764429d63bf958d117f607f4b6c6.tar.gz
kernel-qcow2-linux-a46126ccc77e764429d63bf958d117f607f4b6c6.tar.xz
kernel-qcow2-linux-a46126ccc77e764429d63bf958d117f607f4b6c6.zip
nfs: pass the correct prototype to read_cache_page
Fix the callbacks NFS passes to read_cache_page to actually have the proper type expected. Casting around function pointers can easily hide typing bugs, and defeats control flow protection. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/cache_lib.h')
0 files changed, 0 insertions, 0 deletions