Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 164055
b: refs/heads/master
c: d6d1400
h: refs/heads/master
i:
  164053: 9189248
  164051: 6b055de
  164047: 25b7cd4
v: v3
  • Loading branch information
Artem Bityutskiy authored and Artem Bityutskiy committed Sep 15, 2009
1 parent 57ee4e5 commit 3377170
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 873a64c762f0c52cdf95dcee59bd416bbf9688e6
refs/heads/master: d6d140097beb554daa967d3fb576e94ad2f82dcd
7 changes: 7 additions & 0 deletions trunk/fs/ubifs/ubifs-media.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,13 @@
/* The key is always at the same position in all keyed nodes */
#define UBIFS_KEY_OFFSET offsetof(struct ubifs_ino_node, key)

/* Garbage collector journal head number */
#define UBIFS_GC_HEAD 0
/* Base journal head number */
#define UBIFS_BASE_HEAD 1
/* Data journal head number */
#define UBIFS_DATA_HEAD 2

/*
* LEB Properties Tree node types.
*
Expand Down
10 changes: 4 additions & 6 deletions trunk/fs/ubifs/ubifs.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,10 @@
/* Number of non-data journal heads */
#define NONDATA_JHEADS_CNT 2

/* Garbage collector head */
#define GCHD 0
/* Base journal head number */
#define BASEHD 1
/* First "general purpose" journal head */
#define DATAHD 2
/* Shorter names for journal head numbers for internal usage */
#define GCHD UBIFS_GC_HEAD
#define BASEHD UBIFS_BASE_HEAD
#define DATAHD UBIFS_DATA_HEAD

/* 'No change' value for 'ubifs_change_lp()' */
#define LPROPS_NC 0x80000001
Expand Down

0 comments on commit 3377170

Please sign in to comment.