summaryrefslogtreecommitdiffstats
path: root/sys/ofed
diff options
context:
space:
mode:
authormjg <mjg@FreeBSD.org>2015-04-11 15:40:28 +0000
committermjg <mjg@FreeBSD.org>2015-04-11 15:40:28 +0000
commit22da590f1183b3e1c50dcae3b7b86f7d0f98f847 (patch)
tree459507ed60c5523e27a2afd507ee8abc206839ac /sys/ofed
parentacfe91018ea0304c15ec34504e7769688cfc6914 (diff)
downloadFreeBSD-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.h2
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);
OpenPOWER on IntegriCloud