aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/pwm-fan.c
diff options
context:
space:
mode:
authorLinus Torvalds <[email protected]>2020-12-27 18:56:33 +0000
committerLinus Torvalds <[email protected]>2020-12-27 20:00:36 +0000
commit14e3e989f6a5d9646b6cf60690499cc8bdc11f7d (patch)
tree3f0bf476ab72b64ed4eff6a6fd101ebbc447e787 /drivers/hwmon/pwm-fan.c
parentMerge tag 'ntb-5.11' of git://github.com/jonmason/ntb (diff)
downloadkernel-14e3e989f6a5d9646b6cf60690499cc8bdc11f7d.tar.gz
kernel-14e3e989f6a5d9646b6cf60690499cc8bdc11f7d.zip
proc mountinfo: make splice available again
Since commit 36e2c7421f02 ("fs: don't allow splice read/write without explicit ops") we've required that file operation structures explicitly enable splice support, rather than falling back to the default handlers. Most /proc files use the indirect 'struct proc_ops' to describe their file operations, and were fixed up to support splice earlier in commits 40be821d627c..b24c30c67863, but the mountinfo files interact with the VFS directly using their own 'struct file_operations' and got missed as a result. This adds the necessary support for splice to work for /proc/*/mountinfo and friends. Reported-by: Joan Bruguera Micó <[email protected]> Reported-by: Jussi Kivilinna <[email protected]> Link: https://bugzilla.kernel.org/show_bug.cgi?id=209971 Cc: Greg Kroah-Hartman <[email protected]> Cc: Christoph Hellwig <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/hwmon/pwm-fan.c')
0 files changed, 0 insertions, 0 deletions