diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-09-06 18:18:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 19:57:43 -0400 |
commit | e922efc342d565a38eed3af377ff403f52148864 (patch) | |
tree | b9996a96ed1bbb6e387f7ba8216f8e43ca640398 /include/linux | |
parent | ab8d11beb46f0bd0617e04205c01f5c1fe845b61 (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')
-rw-r--r-- | include/linux/fs.h | 1 |
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 | ||
1282 | extern int do_truncate(struct dentry *, loff_t start); | 1282 | extern int do_truncate(struct dentry *, loff_t start); |
1283 | extern long do_sys_open(const char __user *filename, int flags, int mode); | ||
1283 | extern struct file *filp_open(const char *, int, int); | 1284 | extern struct file *filp_open(const char *, int, int); |
1284 | extern struct file * dentry_open(struct dentry *, struct vfsmount *, int); | 1285 | extern struct file * dentry_open(struct dentry *, struct vfsmount *, int); |
1285 | extern int filp_close(struct file *, fl_owner_t id); | 1286 | extern int filp_close(struct file *, fl_owner_t id); |