xfs
[Top] [All Lists]

[PATCH 3/6][TAKE4] fallocate() on ia64

To: torvalds@xxxxxxxx, akpm@xxxxxxxxxxxxxxxxxxxx
Subject: [PATCH 3/6][TAKE4] fallocate() on ia64
From: "Amit K. Arora" <aarora@xxxxxxxxxxxxxxxxxx>
Date: Thu, 17 May 2007 19:55:55 +0530
Cc: linux-fsdevel@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-ext4@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx, suparna@xxxxxxxxxx, cmm@xxxxxxxxxx
In-reply-to: <20070517141458.GA26641@xxxxxxxxxxxxxxxxxxxx>
References: <20070329101010.7a2b8783.akpm@xxxxxxxxxxxxxxxxxxxx> <20070330071417.GI355@xxxxxxxxxxxxxxxxxxxxxxxx> <20070417125514.GA7574@xxxxxxxxxxxxxxxxxxxx> <20070418130600.GW5967@xxxxxxxxxxxxxxxxxxxx> <20070420135146.GA21352@xxxxxxxxxxxxxxxxxxxx> <20070420145918.GY355@xxxxxxxxxxxxxxxxxxxxxxxx> <20070424121632.GA10136@xxxxxxxxxxxxxxxxxxxx> <20070426175056.GA25321@xxxxxxxxxxxxxxxxxxxx> <20070517141115.GA24260@xxxxxxxxxxxxxxxxxxxx> <20070517141458.GA26641@xxxxxxxxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.1i
Here is the 2.6.22-rc1 version of David's patch: add fallocate() on ia64

From: David Chinner <dgc@xxxxxxx>
Subject: [PATCH] ia64 fallocate syscall
Cc: "Amit K. Arora" <aarora@xxxxxxxxxxxxxxxxxx>, 
        akpm@xxxxxxxxxxxxxxxxxxxx, linux-ext4@xxxxxxxxxxxxxxx,
        suparna@xxxxxxxxxx, cmm@xxxxxxxxxx

ia64 fallocate syscall support.

Signed-Off-By: Dave Chinner <dgc@xxxxxxx>

---
 arch/ia64/kernel/entry.S  |    1 +
 include/asm-ia64/unistd.h |    3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

Index: linux-2.6.22-rc1/arch/ia64/kernel/entry.S
===================================================================
--- linux-2.6.22-rc1.orig/arch/ia64/kernel/entry.S      2007-05-12 
18:45:56.000000000 -0700
+++ linux-2.6.22-rc1/arch/ia64/kernel/entry.S   2007-05-15 15:36:48.000000000 
-0700
@@ -1585,5 +1585,6 @@
        data8 sys_getcpu
        data8 sys_epoll_pwait                   // 1305
        data8 sys_utimensat
+       data8 sys_fallocate

        .org sys_call_table + 8*NR_syscalls     // guard against failures to 
increase NR_syscalls
Index: linux-2.6.22-rc1/include/asm-ia64/unistd.h
===================================================================
--- linux-2.6.22-rc1.orig/include/asm-ia64/unistd.h     2007-05-12 
18:45:56.000000000 -0700
+++ linux-2.6.22-rc1/include/asm-ia64/unistd.h  2007-05-15 15:37:51.000000000 
-0700
@@ -296,6 +296,7 @@
 #define __NR_getcpu                    1304
 #define __NR_epoll_pwait               1305
 #define __NR_utimensat                 1306
+#define __NR_fallocate                 1307

 #ifdef __KERNEL__



<Prev in Thread] Current Thread [Next in Thread>