summaryrefslogtreecommitdiff
path: root/fs/locks.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:14:18 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-18 10:43:56 -0800
commit0cb967cb9928d892e34fce41a09e588881eb0466 (patch)
tree633c8fecdd4fe54f01070f2c0ad1ea0537d63b21 /fs/locks.c
parent26400907b33054ee7ac5ed855976dc455fdab622 (diff)
downloadlwn-0cb967cb9928d892e34fce41a09e588881eb0466.tar.gz
lwn-0cb967cb9928d892e34fce41a09e588881eb0466.zip
System call wrappers part 16
commit 002c8976ee537724b20a5e179d9b349309438836 upstream. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/locks.c')
-rw-r--r--fs/locks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/locks.c b/fs/locks.c
index 09062e3ff104..ec45f4df883d 100644
--- a/fs/locks.c
+++ b/fs/locks.c
@@ -1564,7 +1564,7 @@ EXPORT_SYMBOL(flock_lock_file_wait);
* %LOCK_MAND can be combined with %LOCK_READ or %LOCK_WRITE to allow other
* processes read and write access respectively.
*/
-asmlinkage long sys_flock(unsigned int fd, unsigned int cmd)
+SYSCALL_DEFINE2(flock, unsigned int, fd, unsigned int, cmd)
{
struct file *filp;
struct file_lock *lock;