Commit 17cbc8f6 authored by Al Viro's avatar Al Viro Committed by David Anderson
Browse files

BACKPORT: 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: 868941b1 "fs: remove no_llseek"
Change-Id: Iac64d5d73ce9647a516eec870867369efe23cf33
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
(cherry picked from commit 3f61631d)
Signed-off-by: default avatarDavid Anderson <dvander@google.com>
parent 01bff482
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment