Steve French f2a42c6bca smb3: directory sync should not return an error
commit 6e70c267e68d77679534dcf4aaf84e66f2cf1425 upstream.

As with NFS, which ignores sync on directory handles,
fsync on a directory handle is a noop for CIFS/SMB3.
Do not return an error on it.  It breaks some database
apps otherwise.

Signed-off-by: Steve French <smfrench@gmail.com>
CC: Stable <stable@vger.kernel.org>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-16 10:10:30 +02:00
..
2016-10-13 19:48:11 -05:00
2017-09-17 23:10:48 -05:00
2018-04-24 09:36:27 +02:00
2018-04-24 09:36:27 +02:00
2017-01-14 14:58:29 -06:00
2017-03-02 23:13:37 -06:00
2017-06-20 19:13:47 -05:00
2017-05-03 10:10:10 -05:00
2018-04-24 09:36:26 +02:00
2018-04-24 09:36:27 +02:00
2018-04-24 09:36:27 +02:00