[Bugs] [Bug 1163570] Dentries with trailing '/' are added when quota is enabled in bricks
bugzilla at redhat.com
bugzilla at redhat.com
Mon Nov 17 07:36:46 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1163570
--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9111 committed in release-3.6 by Vijay Bellur
(vbellur at redhat.com)
------
commit 139e8d797bf48acfbc422a7d12740c65c34790fc
Author: Pranith Kumar K <pkarampu at redhat.com>
Date: Thu Oct 30 10:56:17 2014 +0530
inode: Handle '/' in basename in inode_link/unlink
Backport of http://review.gluster.org/9004
Problem:
inode_link is sometimes called with a trailing '/'. Lookup, dentry
operations like link/unlink/mkdir/rmdir/rename etc come without trailing
'/' so the stale dentry with '/' remains in the dentry list of the inode.
Fix:
Add assert checks and return NULL for '/' in bname.
Fix ancestry building code to call without '/' at the end.
BUG: 1163570
Change-Id: I96655a0eb4678f80082705ab167327e72f54fa45
Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
Reviewed-on: http://review.gluster.org/9111
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur at redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=2KLQSPyQD1&a=cc_unsubscribe
More information about the Bugs
mailing list