aboutsummaryrefslogtreecommitdiff
path: root/sys/ofed
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2015-02-17 23:54:06 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2015-02-17 23:54:06 +0000
commitb7a39e9e07874937e816d2bed42b918749957fc0 (patch)
tree607283fc9340f93781257841ea7d394bbdacb69f /sys/ofed
parent82f8b70d680539e01de53857a79203c7bd57221c (diff)
downloadsrc-b7a39e9e07874937e816d2bed42b918749957fc0.tar.gz
src-b7a39e9e07874937e816d2bed42b918749957fc0.zip
Notes
Diffstat (limited to 'sys/ofed')
-rw-r--r--sys/ofed/include/linux/file.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ofed/include/linux/file.h b/sys/ofed/include/linux/file.h
index b76a40865152..22a035f8dd4a 100644
--- a/sys/ofed/include/linux/file.h
+++ b/sys/ofed/include/linux/file.h
@@ -48,7 +48,7 @@ linux_fget(unsigned int fd)
{
struct file *file;
- if (fget_unlocked(curthread->td_proc->p_fd, fd, NULL, 0, &file,
+ if (fget_unlocked(curthread->td_proc->p_fd, fd, NULL, &file,
NULL) != 0) {
return (NULL);
}
@@ -73,7 +73,7 @@ put_unused_fd(unsigned int fd)
{
struct file *file;
- if (fget_unlocked(curthread->td_proc->p_fd, fd, NULL, 0, &file,
+ if (fget_unlocked(curthread->td_proc->p_fd, fd, NULL, &file,
NULL) != 0) {
return;
}
@@ -93,7 +93,7 @@ fd_install(unsigned int fd, struct linux_file *filp)
{
struct file *file;
- if (fget_unlocked(curthread->td_proc->p_fd, fd, NULL, 0, &file,
+ if (fget_unlocked(curthread->td_proc->p_fd, fd, NULL, &file,
NULL) != 0) {
file = NULL;
}