Commit 1b2ae19
committed
fs/ntfs3: check for shutdown in fsync
Ensure fsync() returns -EIO when the ntfs3 filesystem is in forced
shutdown, instead of silently succeeding via generic_file_fsync().
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>1 parent bcbb8d0 commit 1b2ae19
1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1440 | 1440 | | |
1441 | 1441 | | |
1442 | 1442 | | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
1443 | 1455 | | |
1444 | 1456 | | |
1445 | 1457 | | |
| |||
1462 | 1474 | | |
1463 | 1475 | | |
1464 | 1476 | | |
1465 | | - | |
| 1477 | + | |
1466 | 1478 | | |
1467 | 1479 | | |
1468 | 1480 | | |
| |||
0 commit comments