diff options
author | mjg <mjg@FreeBSD.org> | 2015-04-11 15:40:28 +0000 |
---|---|---|
committer | mjg <mjg@FreeBSD.org> | 2015-04-11 15:40:28 +0000 |
commit | 22da590f1183b3e1c50dcae3b7b86f7d0f98f847 (patch) | |
tree | 459507ed60c5523e27a2afd507ee8abc206839ac /sys/ofed | |
parent | acfe91018ea0304c15ec34504e7769688cfc6914 (diff) | |
download | FreeBSD-src-22da590f1183b3e1c50dcae3b7b86f7d0f98f847.zip FreeBSD-src-22da590f1183b3e1c50dcae3b7b86f7d0f98f847.tar.gz |
fd: remove filedesc argument from fdclose
Just accept a thread instead. This makes it consistent with fdalloc.
No functional changes.
Diffstat (limited to 'sys/ofed')
-rw-r--r-- | sys/ofed/include/linux/file.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ofed/include/linux/file.h b/sys/ofed/include/linux/file.h index 22a035f..f1a7398 100644 --- a/sys/ofed/include/linux/file.h +++ b/sys/ofed/include/linux/file.h @@ -82,7 +82,7 @@ put_unused_fd(unsigned int fd) * installed, so no need to free the associated Linux file * structure. */ - fdclose(curthread->td_proc->p_fd, file, fd, curthread); + fdclose(curthread, file, fd); /* drop extra reference */ fdrop(file, curthread); |