[Bugs] [Bug 1611692] Mount process crashes on a sharded volume during rename when dst doesn' t exist

bugzilla at redhat.com bugzilla at redhat.com
Tue Aug 14 13:50:10 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1611692

Worker Ant <bugzilla-bot at gluster.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|POST                        |MODIFIED



--- Comment #3 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/20623 committed in master by "Krutika
Dhananjay" <kdhananj at redhat.com> with a commit message- features/shard: Fix
crash and test case in RENAME fop

Setting the refresh flag in inode ctx in shard_rename_src_cbk()
is applicable only when the dst file exists and is sharded and
has a hard link > 1 at the time of rename.

But this piece of code is exercised even when dst doesn't exist.
In this case, the mount crashes because local->int_inodelk.loc.inode
is NULL.

Change-Id: Iaf85a5ee3dff8b01a76e11972f10f2bb9dcbd407
Updates: bz#1611692
Signed-off-by: Krutika Dhananjay <kdhananj at redhat.com>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.


More information about the Bugs mailing list