X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=fs%2Ffcntl.c;h=6599222536eb20e9deb22884bdc305efcf2cf1ae;hb=ec5350ba07f3c281b3239697974e383402219099;hp=71a600a19f06078f235d8dbba6388cee2594365a;hpb=3bd7bf1f0fe14f591c089ae61bbfa9bd356f178a;p=karo-tx-linux.git diff --git a/fs/fcntl.c b/fs/fcntl.c index 71a600a19f06..6599222536eb 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; /*