diff options
author | Christian Brauner <[email protected]> | 2024-10-10 12:00:03 +0200 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2024-10-30 09:58:02 +0100 |
commit | 2ec67bb4f9c08000982d6aa0e72511bcc83caeb6 (patch) | |
tree | b5c0b8fc842d830247b4e01cefdb37d94a2cb2ad /fs/open.c | |
parent | 62eec753cae265002043872ba419d0887fe33ec6 (diff) | |
parent | 6a8126f077f9d1f33613c9fa3dbd9a6774c6c4dd (diff) |
Merge branch 'work.fdtable' into vfs.file
Bring in the fdtable changes for this cycle.
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'fs/open.c')
-rw-r--r-- | fs/open.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/fs/open.c b/fs/open.c index acaeb3e25c88..62dd1383d6f9 100644 --- a/fs/open.c +++ b/fs/open.c @@ -1574,23 +1574,6 @@ SYSCALL_DEFINE1(close, unsigned int, fd) return retval; } -/** - * sys_close_range() - Close all file descriptors in a given range. - * - * @fd: starting file descriptor to close - * @max_fd: last file descriptor to close - * @flags: reserved for future extensions - * - * This closes a range of file descriptors. All file descriptors - * from @fd up to and including @max_fd are closed. - * Currently, errors to close a given file descriptor are ignored. - */ -SYSCALL_DEFINE3(close_range, unsigned int, fd, unsigned int, max_fd, - unsigned int, flags) -{ - return __close_range(fd, max_fd, flags); -} - /* * This routine simulates a hangup on the tty, to arrange that users * are given clean terminals at login time. |