]> err.no Git - linux-2.6/blobdiff - fs/fcntl.c
[PATCH] struct path: convert jfs
[linux-2.6] / fs / fcntl.c
index 4740d35e52cd72849ef18cd1879bc452085f8c7f..2bdaef35da5479a406aa1eb658eba498c145c4c7 100644 (file)
@@ -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;
 
        /*