diff options
author | Josef "Jeff" Sipek <jsipek@cs.sunysb.edu> | 2006-12-08 05:36:32 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:28:40 -0500 |
commit | fec6d055da71fb02a76f9c2c12427fa79974018b (patch) | |
tree | d6fb2e5fea74ab83280389ef8a16564bf284ebc5 /fs/reiserfs/inode.c | |
parent | 0cc72dc7f050188d8d7344b1dd688cbc68d3cd30 (diff) |
[PATCH] struct path: rename Reiserfs's struct path
Rename Reiserfs's struct path to struct treepath to prevent name collision
between it and struct path from fs/namei.c.
Signed-off-by: Josef "Jeff" Sipek <jsipek@cs.sunysb.edu>
Cc: <reiserfs-dev@namesys.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/reiserfs/inode.c')
-rw-r--r-- | fs/reiserfs/inode.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/reiserfs/inode.c b/fs/reiserfs/inode.c index 254239e6f9e3..f3d1c4a77979 100644 --- a/fs/reiserfs/inode.c +++ b/fs/reiserfs/inode.c | |||
@@ -207,7 +207,7 @@ static int file_capable(struct inode *inode, long block) | |||
207 | } | 207 | } |
208 | 208 | ||
209 | /*static*/ int restart_transaction(struct reiserfs_transaction_handle *th, | 209 | /*static*/ int restart_transaction(struct reiserfs_transaction_handle *th, |
210 | struct inode *inode, struct path *path) | 210 | struct inode *inode, struct treepath *path) |
211 | { | 211 | { |
212 | struct super_block *s = th->t_super; | 212 | struct super_block *s = th->t_super; |
213 | int len = th->t_blocks_allocated; | 213 | int len = th->t_blocks_allocated; |
@@ -570,7 +570,7 @@ static inline int _allocate_block(struct reiserfs_transaction_handle *th, | |||
570 | long block, | 570 | long block, |
571 | struct inode *inode, | 571 | struct inode *inode, |
572 | b_blocknr_t * allocated_block_nr, | 572 | b_blocknr_t * allocated_block_nr, |
573 | struct path *path, int flags) | 573 | struct treepath *path, int flags) |
574 | { | 574 | { |
575 | BUG_ON(!th->t_trans_id); | 575 | BUG_ON(!th->t_trans_id); |
576 | 576 | ||
@@ -1107,7 +1107,7 @@ static inline ulong to_fake_used_blocks(struct inode *inode, int sd_size) | |||
1107 | // | 1107 | // |
1108 | 1108 | ||
1109 | // called by read_locked_inode | 1109 | // called by read_locked_inode |
1110 | static void init_inode(struct inode *inode, struct path *path) | 1110 | static void init_inode(struct inode *inode, struct treepath *path) |
1111 | { | 1111 | { |
1112 | struct buffer_head *bh; | 1112 | struct buffer_head *bh; |
1113 | struct item_head *ih; | 1113 | struct item_head *ih; |
@@ -1284,7 +1284,7 @@ static void inode2sd_v1(void *sd, struct inode *inode, loff_t size) | |||
1284 | /* NOTE, you must prepare the buffer head before sending it here, | 1284 | /* NOTE, you must prepare the buffer head before sending it here, |
1285 | ** and then log it after the call | 1285 | ** and then log it after the call |
1286 | */ | 1286 | */ |
1287 | static void update_stat_data(struct path *path, struct inode *inode, | 1287 | static void update_stat_data(struct treepath *path, struct inode *inode, |
1288 | loff_t size) | 1288 | loff_t size) |
1289 | { | 1289 | { |
1290 | struct buffer_head *bh; | 1290 | struct buffer_head *bh; |
@@ -1653,7 +1653,7 @@ int reiserfs_write_inode(struct inode *inode, int do_sync) | |||
1653 | containing "." and ".." entries */ | 1653 | containing "." and ".." entries */ |
1654 | static int reiserfs_new_directory(struct reiserfs_transaction_handle *th, | 1654 | static int reiserfs_new_directory(struct reiserfs_transaction_handle *th, |
1655 | struct inode *inode, | 1655 | struct inode *inode, |
1656 | struct item_head *ih, struct path *path, | 1656 | struct item_head *ih, struct treepath *path, |
1657 | struct inode *dir) | 1657 | struct inode *dir) |
1658 | { | 1658 | { |
1659 | struct super_block *sb = th->t_super; | 1659 | struct super_block *sb = th->t_super; |
@@ -1712,7 +1712,7 @@ static int reiserfs_new_directory(struct reiserfs_transaction_handle *th, | |||
1712 | containing the body of symlink */ | 1712 | containing the body of symlink */ |
1713 | static int reiserfs_new_symlink(struct reiserfs_transaction_handle *th, struct inode *inode, /* Inode of symlink */ | 1713 | static int reiserfs_new_symlink(struct reiserfs_transaction_handle *th, struct inode *inode, /* Inode of symlink */ |
1714 | struct item_head *ih, | 1714 | struct item_head *ih, |
1715 | struct path *path, const char *symname, | 1715 | struct treepath *path, const char *symname, |
1716 | int item_len) | 1716 | int item_len) |
1717 | { | 1717 | { |
1718 | struct super_block *sb = th->t_super; | 1718 | struct super_block *sb = th->t_super; |