]> git.karo-electronics.de Git - mv-sheeva.git/commit
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)
commit868b89c3dc25eec03985b31ff070e8f73c818980
treef3ef1fc3c5d7414195af355fddd956d81fc81fc6
parentb7c66360dc34e64742edabf4dc410070aa883119
nfsd41: compare request's opcnt with session's maxops at nfsd4_sequence

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