[PATCH] change inotifyfs magic as the same magic is used for futexfs (v2)

2007-09-24 Thread Andrey Mirkin
From: Andrey Mirkin <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> fs/inotify_user.

[PATCH] change inotifyfs magic as the same magic is used for futexfs (v2)

2007-09-24 Thread Andrey Mirkin
From: Andrey Mirkin [EMAIL PROTECTED] 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 [EMAIL PROTECTED] fs/inotify_user.c |4

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

2007-09-21 Thread Andrey Mirkin
From: Andrey Mirkin <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> diff --git a/fs/inot

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

2007-09-21 Thread Andrey Mirkin
From: Andrey Mirkin [EMAIL PROTECTED] 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 [EMAIL PROTECTED] diff --git a/fs/inotify_user.c b/fs

[PATCH] return correct error code from child_rip in x86_64 entry.S

2007-09-19 Thread Andrey Mirkin
From: Andrey Mirkin <[EMAIL PROTECTED]> Right now register edi is just cleared before calling do_exit. That is wrong because correct return value will be ignored. Value from rax should be copied to rdi instead of clearing edi. Signed-off-by: Andrey Mirkin <[EMAIL PROTECTED]> -

[PATCH] return correct error code from child_rip in x86_64 entry.S

2007-09-19 Thread Andrey Mirkin
From: Andrey Mirkin [EMAIL PROTECTED] Right now register edi is just cleared before calling do_exit. That is wrong because correct return value will be ignored. Value from rax should be copied to rdi instead of clearing edi. Signed-off-by: Andrey Mirkin [EMAIL PROTECTED] - diff --git

[PATCH] skip data conversion in compat_sys_mount when data_page is NULL

2006-12-01 Thread Andrey Mirkin
43 0a RIP [] compat_sys_mount+0xd6/0x290 RSP CR2: The problem is that data_page pointer can be NULL, so we should skip data conversion in this case. Signed-Off-By: Andrey Mirkin <[EMAIL PROTECTED]> -- diff --git a/fs/compat.c b/fs/compat.c index 8d0a001..7c8dd28 100644 --- a/fs/c

[PATCH] skip data conversion in compat_sys_mount when data_page is NULL

2006-12-01 Thread Andrey Mirkin
41 01 00 00 0f b7 43 0c 89 43 14 0f b7 43 0a RIP [802bc7c6] compat_sys_mount+0xd6/0x290 RSP 810034d31f38 CR2: The problem is that data_page pointer can be NULL, so we should skip data conversion in this case. Signed-Off-By: Andrey Mirkin [EMAIL PROTECTED] -- diff