XArray: Use xa_cmpxchg to implement xa_reserve
Jason feels this is clearer, and it saves a function and an exported symbol. Suggested-by: NJason Gunthorpe <jgg@ziepe.ca> Signed-off-by: NMatthew Wilcox <willy@infradead.org>
Showing
想要评论请 注册 或 登录