Re: [PATCH 1/6] ksmbd: use vfs_llseek instead of dereferencing NULL

From: Al Viro
Date: Fri Jun 24 2022 - 17:36:14 EST


On Fri, Jun 24, 2022 at 06:56:26PM +0200, Jason A. Donenfeld wrote:
> By not checking whether llseek is NULL, this might jump to NULL. Also,
> it doesn't check FMODE_LSEEK. Fix this by using vfs_llseek(), which
> always does the right thing.

Acked-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>