diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2016-04-14 00:30:13 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-04-23 15:33:03 -0400 |
commit | d9a15489210f3c25de39dee85861352d5e79e9c5 (patch) | |
tree | 2e968785470da2c194699b9f88370ea90a9f5695 /fs/gfs2/trans.h | |
parent | ce23e640133484eebc20ca7b7668388213e11327 (diff) | |
download | linux-next-d9a15489210f3c25de39dee85861352d5e79e9c5.tar.gz |
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>
Diffstat (limited to 'fs/gfs2/trans.h')
0 files changed, 0 insertions, 0 deletions