cifs: add FL_CLOSE to fl_flags mask in cifs_read_flock
authorJeff Layton <jlayton@redhat.com>
Wed, 19 Sep 2012 13:22:46 +0000 (06:22 -0700)
committerSteve French <smfrench@gmail.com>
Tue, 25 Sep 2012 02:46:34 +0000 (21:46 -0500)
commit3d6d854a13844223b603fd7a16a4a4a4afd62c72
treeaa50ad285af91b227aba7a733643c678547e0f19
parentecdb69e2cc80cca77d6afcc0aca244b72cc5ee68
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