forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbcf6278
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 parent387483e commitbcf6278
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3225 | 3225 |
| |
3226 | 3226 |
| |
3227 | 3227 |
| |
3228 |
| - | |
| 3228 | + | |
3229 | 3229 |
| |
3230 | 3230 |
| |
3231 | 3231 |
| |
|
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)