diff options
Diffstat (limited to 'mm/swapfile.c')
-rw-r--r-- | mm/swapfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/swapfile.c b/mm/swapfile.c index 02ccab5ad9d9..2da149cfc9ac 100644 --- a/mm/swapfile.c +++ b/mm/swapfile.c | |||
@@ -1394,7 +1394,7 @@ static int swap_show(struct seq_file *swap, void *v) | |||
1394 | } | 1394 | } |
1395 | 1395 | ||
1396 | file = ptr->swap_file; | 1396 | file = ptr->swap_file; |
1397 | len = seq_path(swap, file->f_path.mnt, file->f_path.dentry, " \t\n\\"); | 1397 | len = seq_path(swap, &file->f_path, " \t\n\\"); |
1398 | seq_printf(swap, "%*s%s\t%u\t%u\t%d\n", | 1398 | seq_printf(swap, "%*s%s\t%u\t%u\t%d\n", |
1399 | len < 40 ? 40 - len : 1, " ", | 1399 | len < 40 ? 40 - len : 1, " ", |
1400 | S_ISBLK(file->f_path.dentry->d_inode->i_mode) ? | 1400 | S_ISBLK(file->f_path.dentry->d_inode->i_mode) ? |