diff options
author | Jeff Mahoney <jeffm@suse.com> | 2009-03-30 14:02:45 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-03-30 15:16:39 -0400 |
commit | a9dd364358fbdc68faee5d20c2d648c320dc3cf0 (patch) | |
tree | effcf61e5e198083faff82dc1e0bd6071639fca8 /include/linux/reiserfs_fs.h | |
parent | 0222e6571c332563a48d4cf5487b67feabe60b5e (diff) |
reiserfs: rename p_s_sb to sb
This patch is a simple s/p_s_sb/sb/g to the reiserfs code. This is the
first in a series of patches to rip out some of the awful variable
naming in reiserfs.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/reiserfs_fs.h')
-rw-r--r-- | include/linux/reiserfs_fs.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/linux/reiserfs_fs.h b/include/linux/reiserfs_fs.h index eb4e912e6bd3..9bd7800d989c 100644 --- a/include/linux/reiserfs_fs.h +++ b/include/linux/reiserfs_fs.h | |||
@@ -1769,12 +1769,12 @@ int journal_end_sync(struct reiserfs_transaction_handle *, struct super_block *, | |||
1769 | int journal_mark_freed(struct reiserfs_transaction_handle *, | 1769 | int journal_mark_freed(struct reiserfs_transaction_handle *, |
1770 | struct super_block *, b_blocknr_t blocknr); | 1770 | struct super_block *, b_blocknr_t blocknr); |
1771 | int journal_transaction_should_end(struct reiserfs_transaction_handle *, int); | 1771 | int journal_transaction_should_end(struct reiserfs_transaction_handle *, int); |
1772 | int reiserfs_in_journal(struct super_block *p_s_sb, unsigned int bmap_nr, | 1772 | int reiserfs_in_journal(struct super_block *sb, unsigned int bmap_nr, |
1773 | int bit_nr, int searchall, b_blocknr_t *next); | 1773 | int bit_nr, int searchall, b_blocknr_t *next); |
1774 | int journal_begin(struct reiserfs_transaction_handle *, | 1774 | int journal_begin(struct reiserfs_transaction_handle *, |
1775 | struct super_block *p_s_sb, unsigned long); | 1775 | struct super_block *sb, unsigned long); |
1776 | int journal_join_abort(struct reiserfs_transaction_handle *, | 1776 | int journal_join_abort(struct reiserfs_transaction_handle *, |
1777 | struct super_block *p_s_sb, unsigned long); | 1777 | struct super_block *sb, unsigned long); |
1778 | void reiserfs_abort_journal(struct super_block *sb, int errno); | 1778 | void reiserfs_abort_journal(struct super_block *sb, int errno); |
1779 | void reiserfs_abort(struct super_block *sb, int errno, const char *fmt, ...); | 1779 | void reiserfs_abort(struct super_block *sb, int errno, const char *fmt, ...); |
1780 | int reiserfs_allocate_list_bitmaps(struct super_block *s, | 1780 | int reiserfs_allocate_list_bitmaps(struct super_block *s, |
@@ -1830,11 +1830,11 @@ static inline void copy_key(struct reiserfs_key *to, | |||
1830 | 1830 | ||
1831 | int comp_items(const struct item_head *stored_ih, const struct treepath *p_s_path); | 1831 | int comp_items(const struct item_head *stored_ih, const struct treepath *p_s_path); |
1832 | const struct reiserfs_key *get_rkey(const struct treepath *p_s_chk_path, | 1832 | const struct reiserfs_key *get_rkey(const struct treepath *p_s_chk_path, |
1833 | const struct super_block *p_s_sb); | 1833 | const struct super_block *sb); |
1834 | int search_by_key(struct super_block *, const struct cpu_key *, | 1834 | int search_by_key(struct super_block *, const struct cpu_key *, |
1835 | struct treepath *, int); | 1835 | struct treepath *, int); |
1836 | #define search_item(s,key,path) search_by_key (s, key, path, DISK_LEAF_NODE_LEVEL) | 1836 | #define search_item(s,key,path) search_by_key (s, key, path, DISK_LEAF_NODE_LEVEL) |
1837 | int search_for_position_by_key(struct super_block *p_s_sb, | 1837 | int search_for_position_by_key(struct super_block *sb, |
1838 | const struct cpu_key *p_s_cpu_key, | 1838 | const struct cpu_key *p_s_cpu_key, |
1839 | struct treepath *p_s_search_path); | 1839 | struct treepath *p_s_search_path); |
1840 | extern void decrement_bcount(struct buffer_head *p_s_bh); | 1840 | extern void decrement_bcount(struct buffer_head *p_s_bh); |
@@ -1978,7 +1978,7 @@ int reiserfs_global_version_in_proc(char *buffer, char **start, off_t offset, | |||
1978 | #define PROC_INFO_MAX( sb, field, value ) VOID_V | 1978 | #define PROC_INFO_MAX( sb, field, value ) VOID_V |
1979 | #define PROC_INFO_INC( sb, field ) VOID_V | 1979 | #define PROC_INFO_INC( sb, field ) VOID_V |
1980 | #define PROC_INFO_ADD( sb, field, val ) VOID_V | 1980 | #define PROC_INFO_ADD( sb, field, val ) VOID_V |
1981 | #define PROC_INFO_BH_STAT( p_s_sb, p_s_bh, n_node_level ) VOID_V | 1981 | #define PROC_INFO_BH_STAT(sb, p_s_bh, n_node_level) VOID_V |
1982 | #endif | 1982 | #endif |
1983 | 1983 | ||
1984 | /* dir.c */ | 1984 | /* dir.c */ |