[PATCH] trivial: fix do_sys_open() prototype



Fix an argument name in do_sys_open()'s prototype.

Signed-off-by: Jason Uhlenkott <juhlenko@xxxxxxxxxx>

Index: linux/include/linux/fs.h
===================================================================
--- linux.orig/include/linux/fs.h 2007-10-16 15:19:26.632794062 -0700
+++ linux/include/linux/fs.h 2007-10-16 16:46:38.000182413 -0700
@@ -1426,7 +1426,7 @@

extern int do_truncate(struct dentry *, loff_t start, unsigned int time_attrs,
struct file *filp);
-extern long do_sys_open(int fdf, const char __user *filename, int flags,
+extern long do_sys_open(int dfd, const char __user *filename, int flags,
int mode);
extern struct file *filp_open(const char *, int, int);
extern struct file * dentry_open(struct dentry *, struct vfsmount *, int);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • [PATCH 5/9] readahead: make ra_submit() non-static
    ... struct address_space *mapping, struct file *filp) ... int actual; ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • [PATCH] eCryptfs: resolve lower page unlocking problem
    ... I reworked Dmitriy's patch to apply cleanly against the more recent ... struct file *lower_file, int byte_offset, ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
    (Linux-Kernel)
  • Re: [PATCH] Fix root hole in raw device
    ... Switch the inode argument in blkdev_ioctlfrom inode to bdev. ... static int ubd_release(struct inode * inode, struct file * file); ... unsigned int cmd, unsigned long arg); ...
    (Linux-Kernel)
  • Re: Urgent C Questions
    ... int, not void. ... Then you need to turn up the warning level on QuickC. ... 3  missing prototype for 'main' ... stdio.h contains the declaration for printf: ...
    (comp.lang.c)
  • Re: Wheres the mistake???
    ... Implicit int ... always a good idea to specify the return type of all functions anyhow. ... As I hope you are aware, a prototype is a function ... Dig the even newer still, yet more improved, sig! ...
    (comp.lang.c)