XArray: Change xa_insert to return -EBUSY
Userspace translates EEXIST to "File exists" which isn't a very good
error message for the problem. "Device or resource busy" is a better
indication of what went wrong.
Signed-off-by: NMatthew Wilcox <willy@infradead.org>
Showing
想要评论请 注册 或 登录