commit | d9a15489210f3c25de39dee85861352d5e79e9c5 | [log] [tgz] |
---|---|---|
author | Andreas Gruenbacher <agruenba@redhat.com> | Thu Apr 14 00:30:13 2016 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Apr 23 15:33:03 2016 -0400 |
tree | 2e968785470da2c194699b9f88370ea90a9f5695 | |
parent | ce23e640133484eebc20ca7b7668388213e11327 [diff] |
cifs: Fix xattr name checks Use strcmp(str, name) instead of strncmp(str, name, strlen(name)) for checking if str and name are the same (as opposed to name being a prefix of str) in the gexattr and setxattr inode operations. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>