X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Ffcntl.c;h=2bdaef35da5479a406aa1eb658eba498c145c4c7;hb=ff273773bfd4f2131bad1318e56519fcceac2339;hp=4740d35e52cd72849ef18cd1879bc452085f8c7f;hpb=e18b890bb0881bbab6f4f1a6cd20d9c60d66b003;p=linux-2.6 diff --git a/fs/fcntl.c b/fs/fcntl.c index 4740d35e52..2bdaef35da 100644 --- a/fs/fcntl.c +++ b/fs/fcntl.c @@ -204,7 +204,7 @@ asmlinkage long sys_dup(unsigned int fildes) static int setfl(int fd, struct file * filp, unsigned long arg) { - struct inode * inode = filp->f_dentry->d_inode; + struct inode * inode = filp->f_path.dentry->d_inode; int error = 0; /*