Bug 765331 (GLUSTER-3599)

Summary: posix: {f,}getxattr() fops doesn't honor 'name' argument
Product: [Community] GlusterFS Reporter: Amar Tumballi <amarts>
Component: posixAssignee: shishir gowda <sgowda>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: gluster-bugs, nsathyan, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Amar Tumballi 2011-09-21 09:02:24 UTC
even if a 'getxattr(user.attribute)' is done from filesystem, inside glusterfs, it is fetching all the extended attributes till fuse level.

As 'getxattr()' is also behaving like a 'listxattr()' in glusterfs [the difference is 'name' arg is NULL or not], we should honor the 'name' parameter if set.

Comment 1 Anand Avati 2011-09-22 09:26:24 UTC
CHANGE: http://review.gluster.com/486 (Currently, getxattr works like listxattr, and does not honor a call) merged in master by Vijay Bellur (vijay)