summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorMikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>2011-05-08 22:42:44 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-09 20:04:23 +0400
commit637b424bf8747e50bab6648ab919632d6efd6c28 (patch)
treea852ccbdfcd4120a80985652eb8a8ad5d1d2b4be /fs
parent0ee5623f9a6e52df90a78bd21179f8ab370e102e (diff)
downloadlinux-637b424bf8747e50bab6648ab919632d6efd6c28.tar.xz
HPFS: Make HPFS compile on preempt and SMP
Make HPFS compile on preempt and SMP Signed-off-by: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/hpfs/Kconfig1
-rw-r--r--fs/hpfs/super.c5
2 files changed, 0 insertions, 6 deletions
diff --git a/fs/hpfs/Kconfig b/fs/hpfs/Kconfig
index 0c39dc3ef7d7..56bd15c5bf6c 100644
--- a/fs/hpfs/Kconfig
+++ b/fs/hpfs/Kconfig
@@ -1,7 +1,6 @@
config HPFS_FS
tristate "OS/2 HPFS file system support"
depends on BLOCK
- depends on BROKEN || !PREEMPT
help
OS/2 is IBM's operating system for PC's, the same as Warp, and HPFS
is the file system used for organizing files on OS/2 hard disk
diff --git a/fs/hpfs/super.c b/fs/hpfs/super.c
index c89b40808587..501ea86e40a4 100644
--- a/fs/hpfs/super.c
+++ b/fs/hpfs/super.c
@@ -479,11 +479,6 @@ static int hpfs_fill_super(struct super_block *s, void *options, int silent)
int o;
- if (num_possible_cpus() > 1) {
- printk(KERN_ERR "HPFS is not SMP safe\n");
- return -EINVAL;
- }
-
save_mount_options(s, options);
sbi = kzalloc(sizeof(*sbi), GFP_KERNEL);