X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Fswapfile.c;h=2da149cfc9accead70439821262dda7d5668815f;hb=a9dbbeb7d615761a82fcd4f00ec290a07be7d8a2;hp=02ccab5ad9d9f2fdebfb525ed6a1b653266dc642;hpb=7a8c6ad918e9c598bf3b799f1a0d5ee4dee59ca3;p=linux-2.6 diff --git a/mm/swapfile.c b/mm/swapfile.c index 02ccab5ad9..2da149cfc9 100644 --- a/mm/swapfile.c +++ b/mm/swapfile.c @@ -1394,7 +1394,7 @@ static int swap_show(struct seq_file *swap, void *v) } file = ptr->swap_file; - len = seq_path(swap, file->f_path.mnt, file->f_path.dentry, " \t\n\\"); + len = seq_path(swap, &file->f_path, " \t\n\\"); seq_printf(swap, "%*s%s\t%u\t%u\t%d\n", len < 40 ? 40 - len : 1, " ", S_ISBLK(file->f_path.dentry->d_inode->i_mode) ?