Prevent resizing read-only mounted file systems
Needs ReviewPublic

Authored by shubham on May 17 2019, 7:30 PM.

Diff Detail

Repository
R16 KPMCore
Branch
fs
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 11904
Build 11922: arc lint + arc unit
shubham requested review of this revision.May 17 2019, 7:30 PM
shubham created this revision.
stikonas requested changes to this revision.May 17 2019, 7:31 PM
stikonas added inline comments.
src/fs/btrfs.cpp
183

This code should go to filesystem.cpp, it's not btrfs specific.

This revision now requires changes to proceed.May 17 2019, 7:31 PM

Also in general, I think we should create a bool variable where we store data, so that we only run this

src/fs/btrfs.cpp
171–173

I think the issue is that there might some other mount point that is read only even though this mountPoint is RW

shubham updated this revision to Diff 58223.May 17 2019, 7:58 PM

Shift common code to filesystem class

shubham marked 2 inline comments as done.May 17 2019, 7:59 PM