]> git.baikalelectronics.ru Git - kernel.git/commit
fs/cifs: Simplify ib_post_(send|recv|srq_recv)() calls
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 18 Jul 2018 16:25:25 +0000 (09:25 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 24 Jul 2018 22:06:36 +0000 (16:06 -0600)
commitce3828f5b3b8628fd85b1ae81b36688537a2cd4d
treede83e00bccc38c41e5096f7cbde61024d0ddae09
parent629aac88e770f8a8421270a13946971bda9e3041
fs/cifs: Simplify ib_post_(send|recv|srq_recv)() calls

Instead of declaring and passing a dummy 'bad_wr' pointer, pass NULL
as third argument to ib_post_(send|recv|srq_recv)().

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
fs/cifs/smbdirect.c