|
@@ -1892,7 +1892,7 @@ static struct swap_info_struct *alloc_swap_info(void)
|
|
|
SYSCALL_DEFINE2(swapon, const char __user *, specialfile, int, swap_flags)
|
|
|
{
|
|
|
struct swap_info_struct *p;
|
|
|
- char *name = NULL;
|
|
|
+ char *name;
|
|
|
struct block_device *bdev = NULL;
|
|
|
struct file *swap_file = NULL;
|
|
|
struct address_space *mapping;
|