cifs: Not to defer close on file when lock is set
authorRohith Surabattula <rohiths@microsoft.com>
Fri, 17 Sep 2021 21:50:40 +0000 (16:50 -0500)
committerSteve French <stfrench@microsoft.com>
Fri, 17 Sep 2021 21:59:41 +0000 (16:59 -0500)
commit35866f3f779aef5e7ba84e4d1023fe2e2a0e219e
tree2063194831932398b8073ec07c2f4d772e8db35b
parent71826b068884050d5fdd37fda857ba1539c513d3
cifs: Not to defer close on file when lock is set

Close file immediately when lock is set.

Cc: stable@vger.kernel.org # 5.13+
Signed-off-by: Rohith Surabattula <rohiths@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsglob.h
fs/cifs/file.c