mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
make xattr_resolve_handlers() safe to use with NULL ->s_xattr
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
aaf431b4f9
commit
0040773bff
1 changed files with 1 additions and 0 deletions
|
|
@ -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)++)
|
||||
|
|
|
|||
Loading…
Reference in a new issue