commit | 08bb558ac11ab944e0539e78619d7b4c356278bd | [log] [tgz] |
---|---|---|
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | Wed May 23 15:30:30 2018 +0300 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Mon May 28 11:41:39 2018 -0600 |
tree | 41e3c9c3d0d3bc2a3c764765568c4f711d067403 | |
parent | 55ba49cbcef37053d973f9a45bc58818c333fe13 [diff] |
IB/core: Make testing MR flags for writability a static inline function Make the MR writability flags check, which is performed in umem.c, a static inline function in file ib_verbs.h This allows the function to be used by low-level infiniband drivers. Cc: <stable@vger.kernel.org> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>