aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/cifs/file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c
index 88e9c74e2cac..075f7cfd1da5 100644
--- a/fs/cifs/file.c
+++ b/fs/cifs/file.c
@@ -1173,7 +1173,8 @@ cifs_read_flock(struct file_lock *flock, __u32 *type, int *lock, int *unlock,
1173 if (flock->fl_flags & FL_LEASE) 1173 if (flock->fl_flags & FL_LEASE)
1174 cFYI(1, "Lease on file - not implemented yet"); 1174 cFYI(1, "Lease on file - not implemented yet");
1175 if (flock->fl_flags & 1175 if (flock->fl_flags &
1176 (~(FL_POSIX | FL_FLOCK | FL_SLEEP | FL_ACCESS | FL_LEASE))) 1176 (~(FL_POSIX | FL_FLOCK | FL_SLEEP |
1177 FL_ACCESS | FL_LEASE | FL_CLOSE)))
1177 cFYI(1, "Unknown lock flags 0x%x", flock->fl_flags); 1178 cFYI(1, "Unknown lock flags 0x%x", flock->fl_flags);
1178 1179
1179 *type = server->vals->large_lock_type; 1180 *type = server->vals->large_lock_type;