OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] change inotifyfs magic as the same magic is used for futexfs
Re: [PATCH] change inotifyfs magic as the same magic is used for futexfs [message #20603 is a reply to message #20595] Sat, 22 September 2007 09:19 Go to previous message
Jan Engelhardt is currently offline  Jan Engelhardt
Messages: 18
Registered: August 2006
Junior Member
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@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@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.
 
Read Message
Read Message
Read Message
Previous Topic: [PATCH] trivial containers comment fixed
Next Topic: [PATCH] Move kasprintf.o to obj-y
Goto Forum:
  


Current Time: Thu Aug 07 02:44:47 GMT 2025

Total time taken to generate the page: 1.67944 seconds