Bug 765331 (GLUSTER-3599) - posix: {f,}getxattr() fops doesn't honor 'name' argument
Summary: posix: {f,}getxattr() fops doesn't honor 'name' argument
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-3599
Product: GlusterFS
Classification: Community
Component: posix
Version: mainline
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: shishir gowda
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-21 09:02 UTC by Amar Tumballi
Modified: 2015-12-01 16:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

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)


Note You need to log in before you can comment on or make changes to this bug.