aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.h
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2016-04-14 00:30:13 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2016-04-23 15:33:03 -0400
commitd9a15489210f3c25de39dee85861352d5e79e9c5 (patch)
tree2e968785470da2c194699b9f88370ea90a9f5695 /fs/cifs/cifsfs.h
parent->getxattr(): pass dentry and inode as separate arguments (diff)
downloadlinux-dev-d9a15489210f3c25de39dee85861352d5e79e9c5.tar.xz
linux-dev-d9a15489210f3c25de39dee85861352d5e79e9c5.zip
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/cifs/cifsfs.h')
0 files changed, 0 insertions, 0 deletions