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>
This commit is contained in:
parent
0ee5623f9a
commit
637b424bf8
|
@ -1,7 +1,6 @@
|
||||||
config HPFS_FS
|
config HPFS_FS
|
||||||
tristate "OS/2 HPFS file system support"
|
tristate "OS/2 HPFS file system support"
|
||||||
depends on BLOCK
|
depends on BLOCK
|
||||||
depends on BROKEN || !PREEMPT
|
|
||||||
help
|
help
|
||||||
OS/2 is IBM's operating system for PC's, the same as Warp, and HPFS
|
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
|
is the file system used for organizing files on OS/2 hard disk
|
||||||
|
|
|
@ -479,11 +479,6 @@ static int hpfs_fill_super(struct super_block *s, void *options, int silent)
|
||||||
|
|
||||||
int o;
|
int o;
|
||||||
|
|
||||||
if (num_possible_cpus() > 1) {
|
|
||||||
printk(KERN_ERR "HPFS is not SMP safe\n");
|
|
||||||
return -EINVAL;
|
|
||||||
}
|
|
||||||
|
|
||||||
save_mount_options(s, options);
|
save_mount_options(s, options);
|
||||||
|
|
||||||
sbi = kzalloc(sizeof(*sbi), GFP_KERNEL);
|
sbi = kzalloc(sizeof(*sbi), GFP_KERNEL);
|
||||||
|
|
Loading…
Reference in New Issue