]> 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)
commit445ba17cb8e2be93e7aac4703784170da7029c6e
tree9e32fe16349d823d8b58deea5d614a9675821c57
parent933d4859ea7f8b49b607eaab4fb295077478d0a1
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: b7e0530b858d "fs: remove no_llseek"
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/proc/inode.c