aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2018-09-06 09:56:10 -0400
committerJan Kara <jack@suse.cz>2018-09-07 04:32:22 -0400
commita9ad01bc759df79b0012f43ee52164391e31cd96 (patch)
treef1c661d0ea79df14520453b5439a19e117892065 /drivers/fpga/fpga-mgr.c
parent59fed3bf8a461ab07a8e57b42b6402e984c7cc62 (diff)
udf: Prevent write-unsupported filesystem to be remounted read-write
There are certain filesystem features which we support for reading but not for writing. We properly refuse to mount such filesystems read-write however for some features (such as read-only partitions), we don't check for these features when remounting the filesystem from read-only to read-write. Thus such filesystems could be remounted read-write leading to strange behavior (most likely crashes). Fix the problem by marking in superblock whether the filesystem has some features that are supported in read-only mode and check this flag during remount. Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions