Thread (10 messages) 10 messages, 3 authors, 2011-08-17

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

From: Bernd Schubert <hidden>
Date: 2011-08-17 09:17:24
Also in: linux-fsdevel, linux-nfs

On 08/16/2011 11:22 PM, Andreas Dilger wrote:
quoted
+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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help