diff options
author | Theodore Ts'o <tytso@mit.edu> | 2010-07-27 11:54:40 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2010-07-27 11:54:40 -0400 |
commit | 60fd4da34d55a9cc0d857fc76dc12cf8cab4ed02 (patch) | |
tree | 72c6b3d9c7680070a751da56bd9068f71e7b106f /fs/ext4/ext4.h | |
parent | 90c7201b97bb7ac5a4e2605abc0efb5fdfb957f0 (diff) |
ext4: Cleanup ext4_check_dir_entry so __func__ is now implicit
Also start passing the line number to ext4_check_dir since we're going
to need it in upcoming patch.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 5a41881cafca..73465b26976d 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h | |||
@@ -1515,9 +1515,11 @@ extern unsigned ext4_init_block_bitmap(struct super_block *sb, | |||
1515 | ext4_init_block_bitmap(sb, NULL, group, desc) | 1515 | ext4_init_block_bitmap(sb, NULL, group, desc) |
1516 | 1516 | ||
1517 | /* dir.c */ | 1517 | /* dir.c */ |
1518 | extern int ext4_check_dir_entry(const char *, struct inode *, | 1518 | extern int __ext4_check_dir_entry(const char *, unsigned int, struct inode *, |
1519 | struct ext4_dir_entry_2 *, | 1519 | struct ext4_dir_entry_2 *, |
1520 | struct buffer_head *, unsigned int); | 1520 | struct buffer_head *, unsigned int); |
1521 | #define ext4_check_dir_entry(dir, de, bh, offset) \ | ||
1522 | __ext4_check_dir_entry(__func__, __LINE__, (dir), (de), (bh), (offset)) | ||
1521 | extern int ext4_htree_store_dirent(struct file *dir_file, __u32 hash, | 1523 | extern int ext4_htree_store_dirent(struct file *dir_file, __u32 hash, |
1522 | __u32 minor_hash, | 1524 | __u32 minor_hash, |
1523 | struct ext4_dir_entry_2 *dirent); | 1525 | struct ext4_dir_entry_2 *dirent); |