aft: Update afhi after addblob.
[paraslash.git] / aft.c
diff --git a/aft.c b/aft.c
index 5595071..b4adbac 100644 (file)
--- a/aft.c
+++ b/aft.c
@@ -2620,6 +2620,10 @@ static int aft_event_handler(enum afs_events event, struct para_buffer *pb,
                 * current status items are affected and simply recreate them
                 * every time.
                 */
+               ret = get_afhi_of_row(current_aft_row,
+                       &status_item_ls_data.afhi);
+               if (ret < 0)
+                       return ret;
                make_status_items();
                return 0;
        } default: