Andreas Gruenbacher 98e9cb5711 vfs: Distinguish between full xattr names and proper prefixes
Add an additional "name" field to struct xattr_handler.  When the name
is set, the handler matches attributes with exactly that name.  When the
prefix is set instead, the handler matches attributes with the given
prefix and with a non-empty suffix.

This patch should avoid bugs like the one fixed in commit c361016a in
the future.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: James Morris <james.l.morris@oracle.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2015-12-06 21:33:52 -05:00
..
2015-06-23 18:02:00 -04:00
2015-10-19 14:40:54 +02:00
2015-10-19 14:40:54 +02:00
2015-10-19 14:40:54 +02:00
2013-02-22 23:31:31 -05:00
2015-02-16 17:56:03 -08:00
2015-05-10 22:18:21 -04:00