[Bugs] [Bug 1241666] glfs_loc_link: Update loc.inode with the existing inode incase if already exits
bugzilla at redhat.com
bugzilla at redhat.com
Fri Jul 10 10:06:54 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1241666
--- Comment #3 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11606 committed in release-3.7 by Kaleb
KEITHLEY (kkeithle at redhat.com)
------
commit decf3c9fe0d4f1f636e337aa313694251341b685
Author: Soumya Koduri <skoduri at redhat.com>
Date: Wed Jul 8 12:08:25 2015 +0530
gfapi: Update loc->inode accordingly in 'glfs_loc_link'
In case if the inode already exits in the cache, inode_link
returns the pointer to the exiting one instead of using loc->inode.
This will result in issues if that invalid inodei(loc->inode) is referenced
further. Fixed the same.
This is backport of the below fix -
http://review.gluster.org/#/c/11572/
BUG: 1241666
Change-Id: I1a89932397f7d2b70d619eeaf862c0a5d7f6b91c
Signed-off-by: Soumya Koduri <skoduri at redhat.com>
Reviewed-on: http://review.gluster.org/11572
Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>
Reviewed-by: Shyamsundar Ranganathan <srangana at redhat.com>
Reviewed-on: http://review.gluster.org/11606
Tested-by: Gluster Build System <jenkins at build.gluster.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list