Whamcloud - gitweb
LU-992 ldiskfs: fix typo for rhel5 ldiskfs patches
authoryangsheng <ys@whamcloud.com>
Wed, 11 Apr 2012 05:27:48 +0000 (13:27 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 22 May 2012 04:25:41 +0000 (00:25 -0400)
A typo indroduced a long time ago. Fix it even rhel5
support will deprecate.

Signed-off-by: yang sheng <ys@whamcloud.com>
Change-Id: I10564cd8dee7d62e05616869044dab0930a5638a
Reviewed-on: http://review.whamcloud.com/2506
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: wangdi <di.wang@whamcloud.com>
Tested-by: Hudson
Reviewed-by: Oleg Drokin <green@whamcloud.com>
ldiskfs/kernel_patches/patches/ext4-osd-iop-common.patch
ldiskfs/kernel_patches/patches/ext4_data_in_dirent.patch

index 3a194cd..bc2a345 100644 (file)
@@ -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);
 +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 *);
 +extern int ext4_add_dot_dotdot(handle_t *handle, struct inode *dir,
 +                                struct inode *inode);
  extern int ext4_orphan_add(handle_t *, struct inode *);
index 9954a7a..42568cd 100644 (file)
@@ -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);
  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 *);
  extern int ext4_add_dot_dotdot(handle_t *handle, struct inode *dir,
 -                                struct inode *inode);
 +                        struct inode *inode, const void *, const void *);