|
@@ -1734,8 +1734,8 @@ int journal_end_sync(struct reiserfs_transaction_handle *, struct super_block *,
|
|
int journal_mark_freed(struct reiserfs_transaction_handle *,
|
|
int journal_mark_freed(struct reiserfs_transaction_handle *,
|
|
struct super_block *, b_blocknr_t blocknr);
|
|
struct super_block *, b_blocknr_t blocknr);
|
|
int journal_transaction_should_end(struct reiserfs_transaction_handle *, int);
|
|
int journal_transaction_should_end(struct reiserfs_transaction_handle *, int);
|
|
-int reiserfs_in_journal(struct super_block *p_s_sb, int bmap_nr, int bit_nr,
|
|
|
|
- int searchall, b_blocknr_t * next);
|
|
|
|
|
|
+int reiserfs_in_journal(struct super_block *p_s_sb, unsigned int bmap_nr,
|
|
|
|
+ int bit_nr, int searchall, b_blocknr_t *next);
|
|
int journal_begin(struct reiserfs_transaction_handle *,
|
|
int journal_begin(struct reiserfs_transaction_handle *,
|
|
struct super_block *p_s_sb, unsigned long);
|
|
struct super_block *p_s_sb, unsigned long);
|
|
int journal_join_abort(struct reiserfs_transaction_handle *,
|
|
int journal_join_abort(struct reiserfs_transaction_handle *,
|
|
@@ -1743,7 +1743,7 @@ int journal_join_abort(struct reiserfs_transaction_handle *,
|
|
void reiserfs_journal_abort(struct super_block *sb, int errno);
|
|
void reiserfs_journal_abort(struct super_block *sb, int errno);
|
|
void reiserfs_abort(struct super_block *sb, int errno, const char *fmt, ...);
|
|
void reiserfs_abort(struct super_block *sb, int errno, const char *fmt, ...);
|
|
int reiserfs_allocate_list_bitmaps(struct super_block *s,
|
|
int reiserfs_allocate_list_bitmaps(struct super_block *s,
|
|
- struct reiserfs_list_bitmap *, int);
|
|
|
|
|
|
+ struct reiserfs_list_bitmap *, unsigned int);
|
|
|
|
|
|
void add_save_link(struct reiserfs_transaction_handle *th,
|
|
void add_save_link(struct reiserfs_transaction_handle *th,
|
|
struct inode *inode, int truncate);
|
|
struct inode *inode, int truncate);
|
|
@@ -2041,7 +2041,7 @@ struct buffer_head *get_FEB(struct tree_balance *);
|
|
* arguments, such as node, search path, transaction_handle, etc. */
|
|
* arguments, such as node, search path, transaction_handle, etc. */
|
|
struct __reiserfs_blocknr_hint {
|
|
struct __reiserfs_blocknr_hint {
|
|
struct inode *inode; /* inode passed to allocator, if we allocate unf. nodes */
|
|
struct inode *inode; /* inode passed to allocator, if we allocate unf. nodes */
|
|
- long block; /* file offset, in blocks */
|
|
|
|
|
|
+ sector_t block; /* file offset, in blocks */
|
|
struct in_core_key key;
|
|
struct in_core_key key;
|
|
struct treepath *path; /* search path, used by allocator to deternine search_start by
|
|
struct treepath *path; /* search path, used by allocator to deternine search_start by
|
|
* various ways */
|
|
* various ways */
|
|
@@ -2099,7 +2099,8 @@ static inline int reiserfs_new_form_blocknrs(struct tree_balance *tb,
|
|
static inline int reiserfs_new_unf_blocknrs(struct reiserfs_transaction_handle
|
|
static inline int reiserfs_new_unf_blocknrs(struct reiserfs_transaction_handle
|
|
*th, struct inode *inode,
|
|
*th, struct inode *inode,
|
|
b_blocknr_t * new_blocknrs,
|
|
b_blocknr_t * new_blocknrs,
|
|
- struct treepath *path, long block)
|
|
|
|
|
|
+ struct treepath *path,
|
|
|
|
+ sector_t block)
|
|
{
|
|
{
|
|
reiserfs_blocknr_hint_t hint = {
|
|
reiserfs_blocknr_hint_t hint = {
|
|
.th = th,
|
|
.th = th,
|
|
@@ -2116,7 +2117,8 @@ static inline int reiserfs_new_unf_blocknrs(struct reiserfs_transaction_handle
|
|
static inline int reiserfs_new_unf_blocknrs2(struct reiserfs_transaction_handle
|
|
static inline int reiserfs_new_unf_blocknrs2(struct reiserfs_transaction_handle
|
|
*th, struct inode *inode,
|
|
*th, struct inode *inode,
|
|
b_blocknr_t * new_blocknrs,
|
|
b_blocknr_t * new_blocknrs,
|
|
- struct treepath *path, long block)
|
|
|
|
|
|
+ struct treepath *path,
|
|
|
|
+ sector_t block)
|
|
{
|
|
{
|
|
reiserfs_blocknr_hint_t hint = {
|
|
reiserfs_blocknr_hint_t hint = {
|
|
.th = th,
|
|
.th = th,
|