Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0040773b authored by Al Viro's avatar Al Viro
Browse files

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



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent aaf431b4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)++)