Re: [PATCH 2/6] Return 32/64-bit dir name hash according to usage type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/16/2011 11:22 PM, Andreas Dilger wrote:
+static inline int is_32bit_api(void) +{ +#ifdef
HAVE_IS_COMPAT_TASK +	return is_compat_task();

Looking more closely, this should actually be "#ifdef CONFIG_COMPAT"
in the mainline kernel.

HAVE_IS_COMPAT_TASK is from the Lustre configure script for detecting
which kernel is_compat_task() was added in, since it appeared in some
kernels at 2.6.17 but wasn't in most arches until 2.6.29.

Sorry I didn't notice this earlier.


Oh no, I also should have noticed it :( I even made a small test program [1], but I then never executed it in 32bit mode :(


Cheers,
Bernd

[1]
http://www.pci.uni-heidelberg.de/tc/usr/bernd/downloads/test_seekdir/
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux