super.c (d571976292839cec05a2820b08f7629b145ed157) super.c (df2ce34c8801af8e00c7f82435fcb1e4b45a2759)
1#include <linux/module.h>
2#include <linux/buffer_head.h>
3#include <linux/fs.h>
4#include <linux/pagemap.h>
5#include <linux/highmem.h>
6#include <linux/time.h>
7#include <linux/init.h>
8#include <linux/string.h>

--- 459 unchanged lines hidden (view full) ---

468printk("btrfs write_super!\n");
469}
470
471static int btrfs_sync_fs(struct super_block *sb, int wait)
472{
473 struct btrfs_trans_handle *trans;
474 struct btrfs_root *root;
475 int ret;
1#include <linux/module.h>
2#include <linux/buffer_head.h>
3#include <linux/fs.h>
4#include <linux/pagemap.h>
5#include <linux/highmem.h>
6#include <linux/time.h>
7#include <linux/init.h>
8#include <linux/string.h>

--- 459 unchanged lines hidden (view full) ---

468printk("btrfs write_super!\n");
469}
470
471static int btrfs_sync_fs(struct super_block *sb, int wait)
472{
473 struct btrfs_trans_handle *trans;
474 struct btrfs_root *root;
475 int ret;
476
476 sb->s_dirt = 0;
477 sb->s_dirt = 0;
478 return 0;
479
477 root = btrfs_sb(sb);
478 trans = btrfs_start_transaction(root, 1);
479 ret = btrfs_commit_transaction(trans, root);
480 sb->s_dirt = 0;
481 BUG_ON(ret);
482printk("btrfs sync_fs\n");
483 return 0;
484}

--- 53 unchanged lines hidden ---
480 root = btrfs_sb(sb);
481 trans = btrfs_start_transaction(root, 1);
482 ret = btrfs_commit_transaction(trans, root);
483 sb->s_dirt = 0;
484 BUG_ON(ret);
485printk("btrfs sync_fs\n");
486 return 0;
487}

--- 53 unchanged lines hidden ---