MIPS: O32: Use compat_sys_getsockopt.
[linux-drm-fsl-dcu.git] / mm / swapfile.c
index a7e72103f23bfbf81aad771343dac77c4f4d1958..41e4581af7c512fe49ad8a1677a501f290e14807 100644 (file)
@@ -2032,7 +2032,7 @@ static int swap_show(struct seq_file *swap, void *v)
        }
 
        file = si->swap_file;
-       len = seq_path(swap, &file->f_path, " \t\n\\");
+       len = seq_file_path(swap, file, " \t\n\\");
        seq_printf(swap, "%*s%s\t%u\t%u\t%d\n",
                        len < 40 ? 40 - len : 1, " ",
                        S_ISBLK(file_inode(file)->i_mode) ?