]> 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>
Wed, 19 Sep 2012 13:22:46 +0000 (06:22 -0700)
committerJeff Layton <jlayton@redhat.com>
Wed, 19 Sep 2012 13:22:46 +0000 (06:22 -0700)
commitae57afe1596666be4335758803435b2f149a4b79
tree3f5d7601c09ecea7fffaa7f46840a4757264ca83
parent7ce3843f4c59f1a62dc0632324c60bf2ff581256
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