]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cifs: add FL_CLOSE to fl_flags mask in cifs_read_flock
authorJeff Layton <jlayton@redhat.com>
Thu, 13 Sep 2012 20:38:11 +0000 (16:38 -0400)
committerSteve French <sfrench@us.ibm.com>
Sat, 15 Sep 2012 20:54:21 +0000 (15:54 -0500)
commit53ae9d5b458f906eac1366b1ce9d41e83537de56
treed997df99d88f3018a4fd302fed51527e66aecf0f
parent5a5e9cb61129f19ba28e124a925d8d27d75ea6ed
cifs: add FL_CLOSE to fl_flags mask in cifs_read_flock

FL_CLOSE is quite common when you close a file on which you hold a
lock. The spurious "Unknown lock flags" message in cFYI is
confusing in this case.

Reported-by: Alexander Bokovoy <abokovoy@redhat.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/file.c