quota: Verify special quota formats match sb type
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 4 repliesIn review
- v12 patches 4 repliesSuperseded
Changes in v2 from the cover letter
* Use s_magic instead of s_type for superblock type checking
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ocfs2: Refuse to enable ocfs2 format for another filesystemfs/ | +4 | 1 reply | |
| 2/2 | shmem: Refuse to enable tmpfs format for another filesystemmm/ | +5 | 3 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Joseph Qi | Hugh Dickins |
|---|---|---|
| 1/2 | R-b | |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] quota: Verify special quota formats match sb type
Hello,
here is v2 of the patches for fix quota crashes when quota format doesn't match filesystem type. I'm now using s_magic instead of s_type for superblock type checking as Hugh pointed out (thus I also didn't pick up OCFS2 guys' R-b tags because the patch is different now). Once reviewed, I can merge these patches through my tree as they are only quota related and very unlikely to clash with anything.
Changes since v1:
* Use s_magic instead of s_type for superblock type checking
Original cover letter:
There are certain quota formats that are created only for particular filesystems - ocfs2 and tmpfs quota formats in particular. Make sure these formats are indeed being enabled only for filesystem of appropriate type. Otherwise quota format operations can easily crash as was spotted by fuzz testing.
Honza
Previous versions: