]> git.baikalelectronics.ru Git - kernel.git/commit
take care to handle NULL ->proc_lseek()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 14 Aug 2022 19:16:18 +0000 (15:16 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 14 Aug 2022 19:16:18 +0000 (15:16 -0400)
commitf380b0f7afd9a5e24d06197be74cd4884339d357
tree9e32fe16349d823d8b58deea5d614a9675821c57
parent4a70dfedd54577472bb623e76a76a01f879b60ec
take care to handle NULL ->proc_lseek()

Easily done now, just by clearing FMODE_LSEEK in ->f_mode
during proc_reg_open() for such entries.

Fixes: c197c5472a32 "fs: remove no_llseek"
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/proc/inode.c