patch-1.3.42 linux/fs/fcntl.c
Next file: linux/fs/file_table.c
Previous file: linux/fs/ext/inode.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Nov 14 08:41:48 1995
- Orig file:
v1.3.41/linux/fs/fcntl.c
- Orig date:
Fri Jun 2 15:56:27 1995
diff -u --recursive --new-file v1.3.41/linux/fs/fcntl.c linux/fs/fcntl.c
@@ -17,7 +17,7 @@
extern int fcntl_setlk(unsigned int, unsigned int, struct flock *);
extern int sock_fcntl (struct file *, unsigned int cmd, unsigned long arg);
-static int dupfd(unsigned int fd, unsigned int arg)
+static inline int dupfd(unsigned int fd, unsigned int arg)
{
if (fd >= NR_OPEN || !current->files->fd[fd])
return -EBADF;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this