Re: [PATCH] change inotifyfs magic as the same magic is used forfutexfs

From: Jan Engelhardt
Date: Sat Sep 22 2007 - 05:19:56 EST



On Sep 21 2007 08:53, Randy Dunlap wrote:
>On Fri, 21 Sep 2007 17:35:43 +0400 Andrey Mirkin wrote:
>
>> From: Andrey Mirkin <major@xxxxxxxxxx>
>>
>> Right now futexfs and inotifyfs have one magic 0xBAD1DEA, that looks a little
>> bit confusing.
>> Use 0xBAD1DEA as magic for futexfs and 0x2BAD1DEA as magic for inotifyfs.
>>
>> Signed-off-by: Andrey Mirkin <major@xxxxxxxxxx>
>
>A 'diffstat -p 1 -w 70' would be helpful so we can see which files
>are touched.
>
>Please add these magic numbers to include/linux/magic.h so that
>they are clearly visible and conflicts can be seen easier,
>then #include <linux/magic.h> in these source files.

Also because userspace may want these magics too.


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