commit | 6e70c267e68d77679534dcf4aaf84e66f2cf1425 | [log] [tgz] |
---|---|---|
author | Steve French <smfrench@gmail.com> | Thu May 10 10:59:37 2018 -0500 |
committer | Steve French <smfrench@gmail.com> | Thu May 10 19:21:14 2018 -0500 |
tree | 18dbbc4fd655506f31bb8586a4c64eacf3b67893 | |
parent | ae2cd7fb478b8da707906ee1706ae1379968a8f9 [diff] |
smb3: directory sync should not return an error 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>