Repository navigation
Commit 49792c8
ext3: add writepage sanity checks
- There is theoretical possibility to perform writepage on
RO superblock. Add explicit check for what case.
- Page must being locked before writepage.
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Jan Kara <jack@suse.cz>1 parent 7eb4969 commit 49792c8
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1528 | 1528 | | |
1529 | 1529 | | |
1530 | 1530 | | |
| 1531 | + | |
1531 | 1532 | | |
1532 | 1533 | | |
1533 | 1534 | | |
| |||
1600 | 1601 | | |
1601 | 1602 | | |
1602 | 1603 | | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
1603 | 1607 | | |
1604 | 1608 | | |
1605 | 1609 | | |
| |||
1642 | 1646 | | |
1643 | 1647 | | |
1644 | 1648 | | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
1645 | 1652 | | |
1646 | 1653 | | |
1647 | 1654 | | |
| |||
0 commit comments