projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] sched: improve efficiency of sched_fork()
[powerpc.git]
/
mm
/
swapfile.c
diff --git
a/mm/swapfile.c
b/mm/swapfile.c
index
c543107
..
b9fc0e5
100644
(file)
--- a/
mm/swapfile.c
+++ b/
mm/swapfile.c
@@
-1357,10
+1357,10
@@
static int swap_show(struct seq_file *swap, void *v)
}
file = ptr->swap_file;
}
file = ptr->swap_file;
- len = seq_path(swap, file->f_
vfsmnt, file->f_
dentry, " \t\n\\");
+ len = seq_path(swap, file->f_
path.mnt, file->f_path.
dentry, " \t\n\\");
seq_printf(swap, "%*s%s\t%u\t%u\t%d\n",
len < 40 ? 40 - len : 1, " ",
seq_printf(swap, "%*s%s\t%u\t%u\t%d\n",
len < 40 ? 40 - len : 1, " ",
- S_ISBLK(file->f_dentry->d_inode->i_mode) ?
+ S_ISBLK(file->f_
path.
dentry->d_inode->i_mode) ?
"partition" : "file\t",
ptr->pages << (PAGE_SHIFT - 10),
ptr->inuse_pages << (PAGE_SHIFT - 10),
"partition" : "file\t",
ptr->pages << (PAGE_SHIFT - 10),
ptr->inuse_pages << (PAGE_SHIFT - 10),