Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322094
b: refs/heads/master
c: 31605de
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Aug 22, 2012
1 parent 8213077 commit faa60e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 90b1253e4139776e8257914ae9e2292d0de2fecc
refs/heads/master: 31605debdf5459cc8aacabf192a911a803a81c26
4 changes: 2 additions & 2 deletions trunk/drivers/vfio/vfio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1111,10 +1111,10 @@ static int vfio_group_get_device_fd(struct vfio_group *group, char *buf)
*/
filep->f_mode |= (FMODE_LSEEK | FMODE_PREAD | FMODE_PWRITE);

fd_install(ret, filep);

vfio_device_get(device);
atomic_inc(&group->container_users);

fd_install(ret, filep);
break;
}
mutex_unlock(&group->device_lock);
Expand Down

0 comments on commit faa60e5

Please sign in to comment.