From fd2aabb91441ea3fb51b86203dbb00a8568f3e06 Mon Sep 17 00:00:00 2001 From: yangsheng Date: Wed, 11 Apr 2012 13:27:48 +0800 Subject: [PATCH] LU-992 ldiskfs: fix typo for rhel5 ldiskfs patches A typo indroduced a long time ago. Fix it even rhel5 support will deprecate. Signed-off-by: yang sheng Change-Id: I10564cd8dee7d62e05616869044dab0930a5638a Reviewed-on: http://review.whamcloud.com/2506 Tested-by: Maloo Reviewed-by: wangdi Tested-by: Hudson Reviewed-by: Oleg Drokin --- ldiskfs/kernel_patches/patches/ext4-osd-iop-common.patch | 2 +- ldiskfs/kernel_patches/patches/ext4_data_in_dirent.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ldiskfs/kernel_patches/patches/ext4-osd-iop-common.patch b/ldiskfs/kernel_patches/patches/ext4-osd-iop-common.patch index 3a194cd..bc2a345 100644 --- a/ldiskfs/kernel_patches/patches/ext4-osd-iop-common.patch +++ b/ldiskfs/kernel_patches/patches/ext4-osd-iop-common.patch @@ -15,7 +15,7 @@ diff -rupN linux-2.6.27.21-0.1_1//fs/ext4/ext4.h linux-2.6.27.21-0.1_2//fs/ext4/ +extern struct buffer_head * ext4_find_entry(struct inode *dir, + const struct qstr *d_name, + struct ext4_dir_entry_2 ** res_dir); -+#define ll_ext4_find_entry(inode, dentry, res_dir) ext4_find_entry(dir, &(dentry)->d_name, res_dir) ++#define ll_ext4_find_entry(inode, dentry, res_dir) ext4_find_entry(inode, &(dentry)->d_name, res_dir) +extern int ext4_add_dot_dotdot(handle_t *handle, struct inode *dir, + struct inode *inode); extern int ext4_orphan_add(handle_t *, struct inode *); diff --git a/ldiskfs/kernel_patches/patches/ext4_data_in_dirent.patch b/ldiskfs/kernel_patches/patches/ext4_data_in_dirent.patch index 9954a7a..42568cd 100644 --- a/ldiskfs/kernel_patches/patches/ext4_data_in_dirent.patch +++ b/ldiskfs/kernel_patches/patches/ext4_data_in_dirent.patch @@ -165,7 +165,7 @@ Index: linux-stage/fs/ext4/ext4.h static inline unsigned int @@ -1611,7 +1654,7 @@ extern struct buffer_head * ext4_find_en struct ext4_dir_entry_2 ** res_dir); - #define ll_ext4_find_entry(inode, dentry, res_dir) ext4_find_entry(dir, &(dentry)->d_name, res_dir) + #define ll_ext4_find_entry(inode, dentry, res_dir) ext4_find_entry(inode, &(dentry)->d_name, res_dir) extern int ext4_add_dot_dotdot(handle_t *handle, struct inode *dir, - struct inode *inode); + struct inode *inode, const void *, const void *); -- 1.8.3.1