diff options
-rw-r--r-- | fs/nfs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/file.c b/fs/nfs/file.c index 5713eb32a45e..d264363559db 100644 --- a/fs/nfs/file.c +++ b/fs/nfs/file.c | |||
@@ -750,7 +750,7 @@ do_setlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) | |||
750 | */ | 750 | */ |
751 | nfs_sync_mapping(filp->f_mapping); | 751 | nfs_sync_mapping(filp->f_mapping); |
752 | if (!NFS_PROTO(inode)->have_delegation(inode, FMODE_READ)) | 752 | if (!NFS_PROTO(inode)->have_delegation(inode, FMODE_READ)) |
753 | nfs_zap_mapping(inode, filp->f_mapping); | 753 | nfs_zap_caches(inode); |
754 | out: | 754 | out: |
755 | return status; | 755 | return status; |
756 | } | 756 | } |