]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd4: disallow SEEK with special stateids
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 21 Apr 2015 19:25:39 +0000 (15:25 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 21 Apr 2015 20:16:01 +0000 (16:16 -0400)
commit3f7bf1a87462e3cb79f9acd6f5a2fd42fa20d781
treea6105aecef17dd3bc25bb1754acb87bbf0639255
parentbb65d43caa379f638df2b88952538cbe91c87796
nfsd4: disallow SEEK with special stateids

If the client uses a special stateid then we'll pass a NULL file to
vfs_llseek.

Fixes: 8ad8d2cf5a87 " NFSD: Implement SEEK"
Cc: Anna Schumaker <Anna.Schumaker@Netapp.com>
Cc: stable@vger.kernel.org
Reported-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c