Revision 85c6932ef0c7a82c309f8728ddf29768001d794e authored by Peter Staubach on 17 March 2006, 07:04:02 UTC, committed by Linus Torvalds on 17 March 2006, 15:51:25 UTC
A user can use nfsservctl() to spam the logs.

This can happen because the arguments to the nfsservctl() system call are
versioned.  This is a good thing.  However, when a bad version is detected,
the kernel prints a message and then returns an error.

Signed-off-by: Peter Staubach <staubach@redhat.com>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 5b40dc7
Raw File
mkversion
if [ ! -f .version ]
then
    echo 1
else
    expr 0`cat .version` + 1
fi
back to top