[PATCH] 2.2.0-pre4: NTFS types inconsistency in headers.

Riccardo Facchetti (fizban@tin.it)
Wed, 6 Jan 1999 00:25:19 +0000 (/etc/localtime)


This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.

--8323328-548816975-915582256=:4261
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.LNX.4.03.9901060025121.7212@azuth.tin.it>

Hello,

I don't know if someone have alredy posted a report for this problem.

NTFS compilation in 2.2.0pre4 fails.

The problem is that include/linux/ntfs_fs_i.h and fs/ntfs/ntfstypes.h
don't agree when defining some ntfs specific types: ntfs_fs_i.h declare
less types than ntfstypes.h but the type definitions in _all_ the two
files are embraced by

#ifndef NTFS_INTEGRAL_TYPES
#define NTFS_INTEGRAL_TYPES
...
#endif

Of course the first header included wins the type definition since the
macro defined _is the same_ (NTFS_INTEGRAL_TYPES). The solution is make
ntfs_fs_i.h agree with all the types declared by ntfstypes.h

Of course better integration of this code into the kernel is desired but
I presume Martin is doing this way for a good reason.

Ciao,
Riccardo.

--8323328-548816975-915582256=:4261
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME="2.2.0pre4-ntfs.diff"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.03.9901060024160.4261@azuth.tin.it>
Content-Description:
Content-Disposition: ATTACHMENT; FILENAME="2.2.0pre4-ntfs.diff"

LS0tIGxpbnV4L2luY2x1ZGUvbGludXgvbnRmc19mc19pLmgub3JpZwlXZWQg
SmFuICA2IDAwOjEwOjI4IDE5OTkNCisrKyBsaW51eC9pbmNsdWRlL2xpbnV4
L250ZnNfZnNfaS5oCVdlZCBKYW4gIDYgMDA6MTA6NDMgMTk5OQ0KQEAgLTEy
LDYgKzEyLDEwIEBADQogdHlwZWRlZiB1bnNpZ25lZCBzaG9ydCAgICAgbnRm
c191MTY7DQogdHlwZWRlZiB1bnNpZ25lZCBpbnQgICAgICAgbnRmc191MzI7
DQogdHlwZWRlZiB1bnNpZ25lZCBsb25nIGxvbmcgbnRmc191NjQ7DQordHlw
ZWRlZiBzOCAgbnRmc19zODsNCit0eXBlZGVmIHMxNiBudGZzX3MxNjsNCit0
eXBlZGVmIHMzMiBudGZzX3MzMjsNCit0eXBlZGVmIHM2NCBudGZzX3M2NDsN
CiAjZW5kaWYNCiANCiAjaWZuZGVmIE5UTU9ERV9UDQo=
--8323328-548816975-915582256=:4261--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/