diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-10-05 21:03:43 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-10-05 21:03:43 -0400 |
commit | 4ad99f15c6a3cadf36928c399459ea4fdb3d49f9 (patch) | |
tree | d0536e4da737900fa27b235f175a3d179d692200 /fs | |
parent | 46767aeba58ca9357a2309765201bad38d8f5e9b (diff) | |
parent | 44aefd2706bb6f5b65ba2c38cd89e7609e2b43d3 (diff) |
Merge branch 'master' into upstream-fixes
Diffstat (limited to 'fs')
-rw-r--r-- | fs/proc/proc_misc.c | 2 | ||||
-rw-r--r-- | fs/udf/super.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/fs/proc/proc_misc.c b/fs/proc/proc_misc.c index 8d88e58ed5cc..93c43b676e59 100644 --- a/fs/proc/proc_misc.c +++ b/fs/proc/proc_misc.c | |||
@@ -647,7 +647,7 @@ static ssize_t write_sysrq_trigger(struct file *file, const char __user *buf, | |||
647 | 647 | ||
648 | if (get_user(c, buf)) | 648 | if (get_user(c, buf)) |
649 | return -EFAULT; | 649 | return -EFAULT; |
650 | __handle_sysrq(c, NULL, NULL, 0); | 650 | __handle_sysrq(c, NULL, 0); |
651 | } | 651 | } |
652 | return count; | 652 | return count; |
653 | } | 653 | } |
diff --git a/fs/udf/super.c b/fs/udf/super.c index 1d3b5d2070e5..1aea6a4f9a4a 100644 --- a/fs/udf/super.c +++ b/fs/udf/super.c | |||
@@ -1621,9 +1621,10 @@ static int udf_fill_super(struct super_block *sb, void *options, int silent) | |||
1621 | goto error_out; | 1621 | goto error_out; |
1622 | } | 1622 | } |
1623 | 1623 | ||
1624 | if (UDF_SB_PARTFLAGS(sb, UDF_SB_PARTITION(sb)) & UDF_PART_FLAG_READ_ONLY) | 1624 | if (UDF_SB_PARTFLAGS(sb, UDF_SB_PARTITION(sb)) & UDF_PART_FLAG_READ_ONLY) { |
1625 | printk("UDF-fs: Partition marked readonly; forcing readonly mount\n"); | 1625 | printk("UDF-fs: Partition marked readonly; forcing readonly mount\n"); |
1626 | sb->s_flags |= MS_RDONLY; | 1626 | sb->s_flags |= MS_RDONLY; |
1627 | } | ||
1627 | 1628 | ||
1628 | if ( udf_find_fileset(sb, &fileset, &rootdir) ) | 1629 | if ( udf_find_fileset(sb, &fileset, &rootdir) ) |
1629 | { | 1630 | { |