Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 959190

Summary: NFS crashed
Product: [Community] GlusterFS Reporter: Rajesh <rajesh>
Component: coreAssignee: Vivek Agarwal <vagarwal>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: mainlineCC: amarts, gluster-bugs, kparthas, rhinduja, rhs-bugs, sankarshan, saujain, surs, vagarwal, vbellur
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 958043
: 1011761 (view as bug list) Environment:
Last Closed: 2013-07-24 17:16:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 958043    
Bug Blocks: 1011761    

Comment 1 Anand Avati 2013-05-03 10:21:49 UTC
REVIEW: http://review.gluster.org/4943 (common-utils: prevent access of freed inode in fd_unref) posted (#1) for review on master by Rajesh Amaravathi (rajesh)

Comment 2 Anand Avati 2013-05-06 11:50:19 UTC
REVIEW: http://review.gluster.org/4943 (nfs: avoid double fd unref in opendir) posted (#2) for review on master by Rajesh Amaravathi (rajesh)

Comment 3 Anand Avati 2013-05-07 06:01:33 UTC
COMMIT: http://review.gluster.org/4943 committed in master by Anand Avati (avati) 
------
commit d3e3a849ddce1ade85ddb885474b66299e98744d
Author: Rajesh Amaravathi <rajesh>
Date:   Mon May 6 17:00:57 2013 +0530

    nfs: avoid double fd unref in opendir
    
    Noticed that the fd_unref was called on the fd regardless of the return
    value at nfs3svc_opendir_readdir_cbk(), hence removing an extra unref in
    the negative case in nfs_inode_opendir_cbk, which fixes the spurious
    fd_unref().
    
    Change-Id: I2bf68410dd86cdf9cfe8a3d43adc27497d8bb36f
    BUG: 959190
    Signed-off-by: Rajesh Amaravathi <rajesh>
    Reviewed-on: http://review.gluster.org/4943
    Reviewed-by: Amar Tumballi <amarts>
    Tested-by: Amar Tumballi <amarts>
    Reviewed-by: Anand Avati <avati>

Comment 4 santosh pradhan 2013-05-07 09:33:13 UTC
*** Bug 960377 has been marked as a duplicate of this bug. ***