diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-07 00:03:53 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-07 00:03:53 -0400 |
commit | 158c12948f3012fbe15f066f308db23502d3db0a (patch) | |
tree | 7ff4843e1818ebf4a3d0877a3db8756327719fa2 /fs | |
parent | 172bfe09dc52aef29f9c5c0bd9f77a558120faf4 (diff) | |
parent | 51a7097426f2243e192df4979c2bf197e6f2ce61 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull trivial tree changes from Jiri Kosina:
"Summer edition of trivial tree updates"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (23 commits)
doc: fix two typos in watchdog-api.txt
irq-gic: remove file name from heading comment
MAINTAINERS: Add miscdevice.h to file list for char/misc drivers.
scsi: mvsas: mv_sas.c: Fix for possible null pointer dereference
doc: replace "practise" with "practice" in Documentation
befs: remove check for CONFIG_BEFS_RW
scsi: doc: fix 'SCSI_NCR_SETUP_MASTER_PARITY'
drivers/usb/phy/phy.c: remove a leading space
mfd: fix comment
cpuidle: fix comment
doc: hpfall.c: fix missing null-terminate after strncpy call
usb: doc: hotplug.txt code typos
kbuild: fix comment in Makefile.modinst
SH: add proper prompt to SH_MAGIC_PANEL_R2_VERSION
ARM: msm: Remove MSM_SCM
crypto: Remove MPILIB_EXTRA
doc: CN: remove dead link, kerneltrap.org no longer works
media: update reference, kerneltrap.org no longer works
hexagon: update reference, kerneltrap.org no longer works
doc: LSM: update reference, kerneltrap.org no longer works
...
Diffstat (limited to 'fs')
-rw-r--r-- | fs/befs/linuxvfs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c index a16fbd4e8241..0d6c07cc1149 100644 --- a/fs/befs/linuxvfs.c +++ b/fs/befs/linuxvfs.c | |||
@@ -799,13 +799,11 @@ befs_fill_super(struct super_block *sb, void *data, int silent) | |||
799 | 799 | ||
800 | befs_debug(sb, "---> %s", __func__); | 800 | befs_debug(sb, "---> %s", __func__); |
801 | 801 | ||
802 | #ifndef CONFIG_BEFS_RW | ||
803 | if (!(sb->s_flags & MS_RDONLY)) { | 802 | if (!(sb->s_flags & MS_RDONLY)) { |
804 | befs_warning(sb, | 803 | befs_warning(sb, |
805 | "No write support. Marking filesystem read-only"); | 804 | "No write support. Marking filesystem read-only"); |
806 | sb->s_flags |= MS_RDONLY; | 805 | sb->s_flags |= MS_RDONLY; |
807 | } | 806 | } |
808 | #endif /* CONFIG_BEFS_RW */ | ||
809 | 807 | ||
810 | /* | 808 | /* |
811 | * Set dummy blocksize to read super block. | 809 | * Set dummy blocksize to read super block. |