xattr: Remove unnecessary NULL attribute name check
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 29 Sep 2016 15:48:30 +0000 (17:48 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 7 Oct 2016 02:17:38 +0000 (22:17 -0400)
commit5d18cbf16cfb0ad65368fe2ead19237305f4b822
treec46b8e5375ccc764e78e054f066f68b413026468
parent08895a8b6b06ed2323cd97a36ee40a116b3db8ed
xattr: Remove unnecessary NULL attribute name check

When NULL is passed to one of the xattr system calls as the attribute
name, copying that name from user space already fails with -EFAULT;
xattr_resolve_name is never called with a NULL attribute name.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/xattr.c