X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=fs%2Ffcntl.c;h=6599222536eb20e9deb22884bdc305efcf2cf1ae;hb=834e3a1cead22c40ad55dad9cd683e42396d45c1;hp=71a600a19f06078f235d8dbba6388cee2594365a;hpb=2a74dbb9a86e8102dcd07d284135b4530a84826e;p=~andy%2Flinux diff --git a/fs/fcntl.c b/fs/fcntl.c index 71a600a19f0..6599222536e 100644 --- a/fs/fcntl.c +++ b/fs/fcntl.c @@ -30,7 +30,7 @@ static int setfl(int fd, struct file * filp, unsigned long arg) { - struct inode * inode = filp->f_path.dentry->d_inode; + struct inode * inode = file_inode(filp); int error = 0; /*