mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
RDMA/rtrs-clt: Use bitmask to check sess->flags
commitaaed465f76upstream. We may want to add new flags, so it's better to use bitmask to check flags. Fixes:6a98d71dae("RDMA/rtrs: client: main functionality") Link: https://lore.kernel.org/r/20201217141915.56989-17-jinpu.wang@cloud.ionos.com Signed-off-by: Jack Wang <jinpu.wang@cloud.ionos.com> Signed-off-by: Gioh Kim <gi-oh.kim@cloud.ionos.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
482157ed20
commit
70123d9989
1 changed files with 7 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue