Bug 854331 - fremovexattr does not work for anonymous fds
Summary: fremovexattr does not work for anonymous fds
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: posix
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pranith Kumar K
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-04 16:19 UTC by Pranith Kumar K
Modified: 2013-07-24 17:29 UTC (History)
1 user (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 17:29:31 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Pranith Kumar K 2012-09-04 16:19:23 UTC
Description of problem:
fremovexattr fails for anonymous fds because the file is not opened at the time of the fop. This is happening because fd_ctx_get is used instead of posix_fd_ctx_get for obtaining posix fd-ctx. So there is no special handling for anonymous fds which leads to this bug.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:


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