]> Pileus Git - ~andy/linux/blobdiff - fs/fcntl.c
xfrm: allow to avoid copying DSCP during encapsulation
[~andy/linux] / 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;
 
        /*