diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-06-22 08:41:43 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-06-22 08:41:43 +0000 |
| commit | 3b6d96526388c71176bb69ee0ee30fa3e4332626 (patch) | |
| tree | c8262a3d430fc3cafab7fb6aec641ce293cd3361 /sys/compat/linux/linux_stats.c | |
| parent | 93cdc37dbf51fed3530a523d5d03743c13dab5b5 (diff) | |
Notes
Diffstat (limited to 'sys/compat/linux/linux_stats.c')
| -rw-r--r-- | sys/compat/linux/linux_stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_stats.c b/sys/compat/linux/linux_stats.c index 3b873f8833d40..8d90b1ffb1399 100644 --- a/sys/compat/linux/linux_stats.c +++ b/sys/compat/linux/linux_stats.c @@ -290,7 +290,7 @@ linux_fstatfs(struct thread *td, struct linux_fstatfs_args *args) error = getvnode(td->td_proc->p_fd, args->fd, &fp); if (error) return error; - mp = ((struct vnode *)fp->f_data)->v_mount; + mp = fp->f_vnode->v_mount; #ifdef MAC error = mac_check_mount_stat(td->td_ucred, mp); if (error) { |
