CIFS: Fix a deadlock when a file is reopened