>From Malahal <[email protected]>:

Malahal has uploaded this change for review. ( 
https://review.gerrithub.io/389553


Change subject: [GPFS] Fix global fd's openflags
......................................................................

[GPFS] Fix global fd's openflags

open_by_handle() sets u.file.fd.openflags before actually opening the
file. If the file open fails, u.file.fd.openflags will be incorrect with
u.file.fd.fd as -1. This results in fsal_reopen_obj() returning the
stale u.file.fd (due to incorrect openflags) resulting in assert in
gpfs_commit_fd().

Change-Id: I075429fc64900102f533c606037d9f7d8cbdb351
Signed-off-by: Malahal Naineni <[email protected]>
---
M src/FSAL/FSAL_GPFS/file.c
1 file changed, 1 insertion(+), 2 deletions(-)



  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/53/389553/1
-- 
To view, visit https://review.gerrithub.io/389553
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I075429fc64900102f533c606037d9f7d8cbdb351
Gerrit-Change-Number: 389553
Gerrit-PatchSet: 1
Gerrit-Owner: Malahal <[email protected]>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to