提交 0040773b 编写于 作者: A Al Viro

make xattr_resolve_handlers() safe to use with NULL ->s_xattr

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 aaf431b4
......@@ -655,6 +655,7 @@ strcmp_prefix(const char *a, const char *a_prefix)
* operations to the correct xattr_handler.
*/
#define for_each_xattr_handler(handlers, handler) \
if (handlers) \
for ((handler) = *(handlers)++; \
(handler) != NULL; \
(handler) = *(handlers)++)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册