aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2005-09-06 18:18:25 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-07 19:57:43 -0400
commite922efc342d565a38eed3af377ff403f52148864 (patch)
treeb9996a96ed1bbb6e387f7ba8216f8e43ca640398 /include/linux/fs.h
parentab8d11beb46f0bd0617e04205c01f5c1fe845b61 (diff)
[PATCH] remove duplicated sys_open32() code from 64bit archs
64 bit architectures all implement their own compatibility sys_open(), when in fact the difference is simply not forcing the O_LARGEFILE flag. So use the a common function instead. Signed-off-by: Miklos Szeredi <miklos@szeredi.hu> Cc: <viro@parcelfarce.linux.theplanet.co.uk> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 57e294bf83f4..7e1b589842af 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1280,6 +1280,7 @@ static inline int break_lease(struct inode *inode, unsigned int mode)
1280/* fs/open.c */ 1280/* fs/open.c */
1281 1281
1282extern int do_truncate(struct dentry *, loff_t start); 1282extern int do_truncate(struct dentry *, loff_t start);
1283extern long do_sys_open(const char __user *filename, int flags, int mode);
1283extern struct file *filp_open(const char *, int, int); 1284extern struct file *filp_open(const char *, int, int);
1284extern struct file * dentry_open(struct dentry *, struct vfsmount *, int); 1285extern struct file * dentry_open(struct dentry *, struct vfsmount *, int);
1285extern int filp_close(struct file *, fl_owner_t id); 1286extern int filp_close(struct file *, fl_owner_t id);