]> 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)
commit10e3b5140e7110775496c6eddc86d22c5153306e
treede83e00bccc38c41e5096f7cbde61024d0ddae09
parenta03bfb17c53245def4a05cdfdd662792e5a9d2fc
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