nfsd41: compare request's opcnt with session's maxops at nfsd4_sequence
authorMi Jinlong <mijinlong@cn.fujitsu.com>
Wed, 27 Apr 2011 01:09:58 +0000 (09:09 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Sat, 30 Apr 2011 00:47:55 +0000 (20:47 -0400)
Make sure nfs server errors out if request contains more ops
than channel allows.

Signed-off-by: Mi Jinlong <mijinlong@cn.fujitsu.com>
[bfields@redhat.com: use helper function]
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c

Simple merge