Merge tag 'nios2-fixes-v3.19' of git://git.rocketboards.org/linux-socfpga-next
[firefly-linux-kernel-4.4.55.git] / fs / jffs2 / summary.c
index c522d098bb4fb622112b069c6b5556d7f31ef46a..bc5385471a6e3f2b1088d93bed109b185f4d8256 100644 (file)
@@ -844,6 +844,7 @@ static int jffs2_sum_write_data(struct jffs2_sb_info *c, struct jffs2_eraseblock
 /* Write out summary information - called from jffs2_do_reserve_space */
 
 int jffs2_sum_write_sumnode(struct jffs2_sb_info *c)
+       __must_hold(&c->erase_completion_block)
 {
        int datasize, infosize, padsize;
        struct jffs2_eraseblock *jeb;