diff options
Diffstat (limited to 'fs/fcntl.c')
-rw-r--r-- | fs/fcntl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fcntl.c b/fs/fcntl.c index 4740d35e52cd..2bdaef35da54 100644 --- a/fs/fcntl.c +++ b/fs/fcntl.c | |||
@@ -204,7 +204,7 @@ asmlinkage long sys_dup(unsigned int fildes) | |||
204 | 204 | ||
205 | static int setfl(int fd, struct file * filp, unsigned long arg) | 205 | static int setfl(int fd, struct file * filp, unsigned long arg) |
206 | { | 206 | { |
207 | struct inode * inode = filp->f_dentry->d_inode; | 207 | struct inode * inode = filp->f_path.dentry->d_inode; |
208 | int error = 0; | 208 | int error = 0; |
209 | 209 | ||
210 | /* | 210 | /* |