diff options
author | Jiffin Tony Thottan <jthottan@redhat.com> | 2017-01-17 18:26:55 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2017-01-30 06:51:51 -0500 |
commit | fbe70dcdd7c62ae97e04e09755dcf87d90fcad8b (patch) | |
tree | d21c7728cba9eea828e84bed8676b4a2a6172d8e /tests/bitrot | |
parent | 355c1955039a39c820880be72fe77d4e74af0967 (diff) |
gNFS : pass proper gfid for nfs_setattr() in nfs3svc_create_cbk()
The nfs3svc_create_cbk() takes "gfid" from inode variable which it
received, not from inode which it performed linking to nfs_setattr().
There is possiblity that the inode passed into this function holds
NULL gfid if there are some parallel operation happening on the same
file.
Similar issue is mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=1413971
Thanks pranith for proposing the fix
Change-Id: I1a0ff4f02b483416f19f4f064c306c2cad5d9d8b
BUG: 1413971
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
Reviewed-on: https://review.gluster.org/16421
Reviewed-by: soumya k <skoduri@redhat.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'tests/bitrot')
0 files changed, 0 insertions, 0 deletions