Merge tag 'pull-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs

Pull vfs lseek fix from Al Viro:
"Fix proc_reg_llseek() breakage. Always had been possible if somebody
left NULL ->proc_lseek, became a practical issue now"

* tag 'pull-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
take care to handle NULL ->proc_lseek()

Changed files
+3
fs
proc
+3
fs/proc/inode.c
··· 494 typeof_member(struct proc_ops, proc_release) release; 495 struct pde_opener *pdeo; 496 497 if (pde_is_permanent(pde)) { 498 open = pde->proc_ops->proc_open; 499 if (open)
··· 494 typeof_member(struct proc_ops, proc_release) release; 495 struct pde_opener *pdeo; 496 497 + if (!pde->proc_ops->proc_lseek) 498 + file->f_mode &= ~FMODE_LSEEK; 499 + 500 if (pde_is_permanent(pde)) { 501 open = pde->proc_ops->proc_open; 502 if (open)