Skip to content
Snippets Groups Projects
Commit f818b82b authored by Matthew Wilcox's avatar Matthew Wilcox
Browse files

XArray: Mark xa_insert and xa_reserve as must_check


If the user doesn't care about the return value from xa_insert(), then
they should be using xa_store() instead.  The point of xa_reserve() is
to get the return value early before taking another lock, so this should
also be __must_check.

Signed-off-by: default avatarMatthew Wilcox <willy@infradead.org>
parent 2fa044e5
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment