]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/fcntl.c
Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso...
[karo-tx-linux.git] / fs / fcntl.c
index 71a600a19f06078f235d8dbba6388cee2594365a..6599222536eb20e9deb22884bdc305efcf2cf1ae 100644 (file)
@@ -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;
 
        /*