Commit 6e70c26
committed
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 <[email protected]>
CC: Stable <[email protected]>
Reviewed-by: Ronnie Sahlberg <[email protected]>
Reviewed-by: Pavel Shilovsky <[email protected]>1 parent ae2cd7f commit 6e70c26
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1047 | 1047 | | |
1048 | 1048 | | |
1049 | 1049 | | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
1050 | 1062 | | |
1051 | 1063 | | |
1052 | 1064 | | |
| |||
1181 | 1193 | | |
1182 | 1194 | | |
1183 | 1195 | | |
| 1196 | + | |
1184 | 1197 | | |
1185 | 1198 | | |
1186 | 1199 | | |
| |||
0 commit comments