diff options
Diffstat (limited to 'fs/logfs/inode.c')
-rw-r--r-- | fs/logfs/inode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/logfs/inode.c b/fs/logfs/inode.c index 7e441ad5f79..388d7c5a7be 100644 --- a/fs/logfs/inode.c +++ b/fs/logfs/inode.c | |||
@@ -364,7 +364,9 @@ static void logfs_init_once(void *_li) | |||
364 | 364 | ||
365 | static int logfs_sync_fs(struct super_block *sb, int wait) | 365 | static int logfs_sync_fs(struct super_block *sb, int wait) |
366 | { | 366 | { |
367 | logfs_get_wblocks(sb, NULL, WF_LOCK); | ||
367 | logfs_write_anchor(sb); | 368 | logfs_write_anchor(sb); |
369 | logfs_put_wblocks(sb, NULL, WF_LOCK); | ||
368 | return 0; | 370 | return 0; |
369 | } | 371 | } |
370 | 372 | ||