forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf16735d
committed
Tolerate EINVAL when calling fsync() on a directory.
Previously, we tolerated EBADF as a way for the operating system toindicate that it doesn't support fsync() on a directory. TolerateEINVAL too, for older versions of Linux CIFS.Bug #15636. Back-patch all the way.Reported-by: John KlannDiscussion:https://postgr.es/m/15636-d380890dafd78fc6@postgresql.org1 parent483520e commitf16735d
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3379 | 3379 |
| |
3380 | 3380 |
| |
3381 | 3381 |
| |
3382 |
| - | |
| 3382 | + | |
3383 | 3383 |
| |
3384 | 3384 |
| |
3385 | 3385 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
299 | 299 |
| |
300 | 300 |
| |
301 | 301 |
| |
302 |
| - | |
| 302 | + | |
303 | 303 |
| |
304 | 304 |
| |
305 | 305 |
| |
|
0 commit comments
Comments
(0)