Bug 761980 (GLUSTER-248)

Summary: Updating stats in posix is incorrect
Product: [Community] GlusterFS Reporter: Vijay Bellur <vijay>
Component: posixAssignee: Vikas Gorur <vikas>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: mainlineCC: gluster-bugs, rabhat
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: RTA Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Vijay Bellur 2009-09-07 12:47:21 UTC
In POSIX, updating nr_files is not being done right. It is being incremented even before checking return values from open() and close(). This needs to be corrected.

Comment 1 Anand Avati 2009-09-22 10:12:58 UTC
PATCH: http://patches.gluster.com/patch/1412 in master (storage/posix: Update nr_files after system call succeeds.)