ocfs2: use allocation reservations for directory data
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / ocfs2 / suballoc.c
index d4babfba4f049326da4f8384e9bcc7d78273d1c8..f20bcbf64ce007e3dce7d25022e6552bb82c3111 100644 (file)
@@ -130,6 +130,7 @@ void ocfs2_free_ac_resource(struct ocfs2_alloc_context *ac)
        }
        brelse(ac->ac_bh);
        ac->ac_bh = NULL;
+       ac->ac_resv = NULL;
 }
 
 void ocfs2_free_alloc_context(struct ocfs2_alloc_context *ac)