diff options
Diffstat (limited to 'fs/locks.c')
-rw-r--r-- | fs/locks.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/locks.c b/fs/locks.c index 6a132cd4fa57..2e0fa661e423 100644 --- a/fs/locks.c +++ b/fs/locks.c | |||
@@ -1493,8 +1493,7 @@ EXPORT_SYMBOL_GPL(vfs_setlease); | |||
1493 | int fcntl_setlease(unsigned int fd, struct file *filp, long arg) | 1493 | int fcntl_setlease(unsigned int fd, struct file *filp, long arg) |
1494 | { | 1494 | { |
1495 | struct file_lock fl, *flp = &fl; | 1495 | struct file_lock fl, *flp = &fl; |
1496 | struct dentry *dentry = filp->f_path.dentry; | 1496 | struct inode *inode = filp->f_path.dentry->d_inode; |
1497 | struct inode *inode = dentry->d_inode; | ||
1498 | int error; | 1497 | int error; |
1499 | 1498 | ||
1500 | locks_init_lock(&fl); | 1499 | locks_init_lock(&fl); |