Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91840
b: refs/heads/master
c: 96200be
h: refs/heads/master
v: v3
  • Loading branch information
Jan Kara committed Apr 17, 2008
1 parent 02fc839 commit 41de9bc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fa5e08156335d0687c85b4e724db9448fb166601
refs/heads/master: 96200be3077c5ede16a90b33aca815b444e66043
8 changes: 8 additions & 0 deletions trunk/fs/udf/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -1208,6 +1208,14 @@ static int udf_load_partdesc(struct super_block *sb, sector_t block)
ret = udf_fill_partdesc_info(sb, p, i);
if (ret)
goto out_bh;
/*
* Mark filesystem read-only if we have a partition with virtual map
* since we don't handle writing to it (we overwrite blocks instead of
* relocating them).
*/
sb->s_flags |= MS_RDONLY;
printk(KERN_NOTICE "UDF-fs: Filesystem marked read-only because "
"writing to pseudooverwrite partition is not implemented.\n");

ret = udf_load_vat(sb, i, type1_idx);
out_bh:
Expand Down

0 comments on commit 41de9bc

Please sign in to comment.