diff options
author | Krutika Dhananjay <kdhananj@redhat.com> | 2018-08-02 21:48:34 +0530 |
---|---|---|
committer | Krutika Dhananjay <kdhananj@redhat.com> | 2018-08-14 13:49:42 +0000 |
commit | d46632247cbbeefb4798512e4426943f9768ecbf (patch) | |
tree | 1b32f90cc7ddd68eb63b932ca086c3e7720489f0 /xlators/mgmt | |
parent | 76fcdc2a18311ece1ba0d2a191c9d3261637d41c (diff) |
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@redhat.com>
Diffstat (limited to 'xlators/mgmt')
0 files changed, 0 insertions, 0 deletions