journal.c (a02001086bbfb4da35d1228bebc2f1b442db455f) journal.c (6774def6422f6eac53f1828c317bf3b08a8f5a60)
1/*
2 * Write ahead logging implementation copyright Chris Mason 2000
3 *
4 * The background commits make this code very interrelated, and
5 * overly complex. I need to rethink things a bit....The major players:
6 *
7 * journal_begin -- call with the number of blocks you expect to log.
8 * If the current transaction is too

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

2767 SB_JOURNAL_1st_RESERVED_BLOCK(sb),
2768 SB_ONDISK_JOURNAL_SIZE(sb),
2769 sb->s_blocksize);
2770 goto free_and_return;
2771 }
2772
2773 if (journal_init_dev(sb, journal, j_dev_name) != 0) {
2774 reiserfs_warning(sb, "sh-462",
1/*
2 * Write ahead logging implementation copyright Chris Mason 2000
3 *
4 * The background commits make this code very interrelated, and
5 * overly complex. I need to rethink things a bit....The major players:
6 *
7 * journal_begin -- call with the number of blocks you expect to log.
8 * If the current transaction is too

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

2767 SB_JOURNAL_1st_RESERVED_BLOCK(sb),
2768 SB_ONDISK_JOURNAL_SIZE(sb),
2769 sb->s_blocksize);
2770 goto free_and_return;
2771 }
2772
2773 if (journal_init_dev(sb, journal, j_dev_name) != 0) {
2774 reiserfs_warning(sb, "sh-462",
2775 "unable to initialize jornal device");
2775 "unable to initialize journal device");
2776 goto free_and_return;
2777 }
2778
2779 rs = SB_DISK_SUPER_BLOCK(sb);
2780
2781 /* read journal header */
2782 bhjh = journal_bread(sb,
2783 SB_ONDISK_JOURNAL_1st_BLOCK(sb) +

--- 1620 unchanged lines hidden ---
2776 goto free_and_return;
2777 }
2778
2779 rs = SB_DISK_SUPER_BLOCK(sb);
2780
2781 /* read journal header */
2782 bhjh = journal_bread(sb,
2783 SB_ONDISK_JOURNAL_1st_BLOCK(sb) +

--- 1620 unchanged lines hidden ---