Whamcloud - gitweb
Branch b1_6
authoradilger <adilger>
Fri, 25 Jan 2008 00:16:26 +0000 (00:16 +0000)
committeradilger <adilger>
Fri, 25 Jan 2008 00:16:26 +0000 (00:16 +0000)
Allow newer ldiskfs with d_rehash_cond() and d_move_locked() to build
against older kernels with the older __d_rehash() and __d_move() functions.

Minor reformatting of configure.ac to match GNU autoconf coding style.
http://www.gnu.org/software/autoconf/manual/html_node/Coding-Style.html

b=14714
i=scjody

ldiskfs/kernel_patches/patches/iopen-2.6-rhel4.patch

index 2f015bb..731ce38 100644 (file)
@@ -340,7 +340,8 @@ Index: linux-stage/fs/ext3/iopen.h
 +#define d_rehash_cond(dentry, lock) __d_rehash(dentry, lock)
 +#endif
 +
-+#if !defined(HAVE_D_MOVE_LOCKED) && defined(HAVE_d_move_locked(dentry, lock) __d_move(dentry, lock)
++#if !defined(HAVE_D_MOVE_LOCKED) && defined(HAVE___D_MOVE)
++#define d_move_locked(dentry, target) __d_move(dentry, target)
 +#endif
 Index: linux-stage/fs/ext3/namei.c
 ===================================================================