X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fcompat_ioctl.c;h=c6e72aebd16b43e7b16339cb69869472fccbdd24;hb=856f6ff7a3132c8e412b23a7b9157b68ac9a2baf;hp=ee32c0eac7c1078576d1a17bfa03b11c45c4146c;hpb=76c072b48e39e9291fbf02d6c912cf27d65e093d;p=linux-2.6 diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index ee32c0eac7..c6e72aebd1 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -2853,7 +2853,7 @@ static void compat_ioctl_error(struct file *filp, unsigned int fd, /* find the name of the device. */ path = (char *)__get_free_page(GFP_KERNEL); if (path) { - fn = d_path(filp->f_path.dentry, filp->f_path.mnt, path, PAGE_SIZE); + fn = d_path(&filp->f_path, path, PAGE_SIZE); if (IS_ERR(fn)) fn = "?"; }