[Devel] Re: [PATCH] change inotifyfs magic as the same magic is used for futexfs

Jan Engelhardt jengelh at computergmbh.de
Sat Sep 22 02:19:45 PDT 2007


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 at openvz.org>
>> 
>> 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 at openvz.org>
>
>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.





More information about the Devel mailing list