aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p
diff options
context:
space:
mode:
Diffstat (limited to 'fs/9p')
-rw-r--r--fs/9p/vfs_file.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/9p/vfs_file.c b/fs/9p/vfs_file.c
index d8223209d4b1..59e3fe3d56c0 100644
--- a/fs/9p/vfs_file.c
+++ b/fs/9p/vfs_file.c
@@ -352,9 +352,6 @@ static int v9fs_file_flock_dotl(struct file *filp, int cmd,
352 invalidate_mapping_pages(&inode->i_data, 0, -1); 352 invalidate_mapping_pages(&inode->i_data, 0, -1);
353 } 353 }
354 /* Convert flock to posix lock */ 354 /* Convert flock to posix lock */
355 fl->fl_owner = (fl_owner_t)filp;
356 fl->fl_start = 0;
357 fl->fl_end = OFFSET_MAX;
358 fl->fl_flags |= FL_POSIX; 355 fl->fl_flags |= FL_POSIX;
359 fl->fl_flags ^= FL_FLOCK; 356 fl->fl_flags ^= FL_FLOCK;
360 357