[Bugs] [Bug 1196019] Any op on files in the root directory of the volume fails unless absolute path is specified.
bugzilla at redhat.com
bugzilla at redhat.com
Fri Feb 27 08:24:24 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1196019
--- Comment #3 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9744 committed in master by Niels de Vos
(ndevos at redhat.com)
------
commit 5dc152aac25ac7680ce0f83edc580d2a953d27a7
Author: Poornima G <pgurusid at redhat.com>
Date: Wed Feb 25 15:44:59 2015 +0530
libgfapi: In glfs_init() set the cwd to "/".
Initially, when the cwd is NULL, while resolving a
relative path, it was taken to be relative from the root
of the volume.
But this behaviour changed with the patch:
http://review.gluster.org/#/c/9671/
with this patch, if cwd is NULL, all the fops on the files
(given relative path) under root directory will fail.
Hence, setting the cwd to "/" during glfs_init() itself.
Change-Id: I65018f6cd42539d09852069b84099034b9925418
BUG: 1196019
Signed-off-by: Poornima G <pgurusid at redhat.com>
Reviewed-on: http://review.gluster.org/9744
Reviewed-by: soumya k <skoduri at redhat.com>
Reviewed-by: Rajesh Joseph <rjoseph at redhat.com>
Reviewed-by: Niels de Vos <ndevos at redhat.com>
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