Deleted Added
full compact
g_label_reiserfs.c (149395) g_label_reiserfs.c (173677)
1/*-
2 * Copyright (c) 2005 Stanislav Sedov
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2005 Stanislav Sedov
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/sys/geom/label/g_label_reiserfs.c 149395 2005-08-23 18:55:38Z pjd $");
28__FBSDID("$FreeBSD: head/sys/geom/label/g_label_reiserfs.c 173677 2007-11-16 19:43:26Z maxim $");
29
30#include <sys/param.h>
31#include <sys/systm.h>
32#include <sys/kernel.h>
33#include <sys/malloc.h>
34
35#include <geom/geom.h>
36#include <geom/label/g_label.h>
37
38#define REISERFS_NEW_DISK_OFFSET 64 * 1024
39#define REISERFS_OLD_DISK_OFFSET 8 * 1024
40#define REISERFS_SUPER_MAGIC "ReIsEr"
41
29
30#include <sys/param.h>
31#include <sys/systm.h>
32#include <sys/kernel.h>
33#include <sys/malloc.h>
34
35#include <geom/geom.h>
36#include <geom/label/g_label.h>
37
38#define REISERFS_NEW_DISK_OFFSET 64 * 1024
39#define REISERFS_OLD_DISK_OFFSET 8 * 1024
40#define REISERFS_SUPER_MAGIC "ReIsEr"
41
42typedef struct resiserfs_sb {
42typedef struct reiserfs_sb {
43 uint8_t fake1[52];
44 char s_magic[10];
45 uint8_t fake2[10];
46 uint16_t s_version;
47 uint8_t fake3[26];
48 char s_volume_name[16];
49} reiserfs_sb_t;
50

--- 67 unchanged lines hidden ---
43 uint8_t fake1[52];
44 char s_magic[10];
45 uint8_t fake2[10];
46 uint16_t s_version;
47 uint8_t fake3[26];
48 char s_volume_name[16];
49} reiserfs_sb_t;
50

--- 67 unchanged lines hidden ---