aboutsummaryrefslogtreecommitdiffstats
path: root/fs/afs/super.c
diff options
context:
space:
mode:
authorMarc Dionne <marc.dionne@auristor.com>2019-11-21 15:26:15 +0000
committerLinus Torvalds <torvalds@linux-foundation.org>2019-11-22 14:19:26 -0800
commitcd340703c29bdf90f7b32f7eba0ffd6f361b57bb (patch)
tree302f096e200e1d4877d648497e6c6a8a127ac628 /fs/afs/super.c
parentMerge branch 'akpm' (patches from Andrew) (diff)
downloadlinux-dev-cd340703c29bdf90f7b32f7eba0ffd6f361b57bb.tar.xz
linux-dev-cd340703c29bdf90f7b32f7eba0ffd6f361b57bb.zip
afs: Fix possible assert with callbacks from yfs servers
Servers sending callback breaks to the YFS_CM_SERVICE service may send up to YFSCBMAX (1024) fids in a single RPC. Anything over AFSCBMAX (50) will cause the assert in afs_break_callbacks to trigger. Remove the assert, as the count has already been checked against the appropriate max values in afs_deliver_cb_callback and afs_deliver_yfs_cb_callback. Fixes: 35dbfba3111a ("afs: Implement the YFS cache manager service") Signed-off-by: Marc Dionne <marc.dionne@auristor.com> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/afs/super.c')
0 files changed, 0 insertions, 0 deletions