swapfile: remove surplus whitespace
Remove trailing whitespace from swapfile.c, and odd swap_show() alignment. Signed-off-by: Hugh Dickins <hugh@veritas.com> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Nick Piggin <nickpiggin@yahoo.com.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
22c6f8fdb3
commit
886bb7e9c3
1 changed files with 11 additions and 11 deletions
|
@ -1395,12 +1395,12 @@ static int swap_show(struct seq_file *swap, void *v)
|
|||
file = ptr->swap_file;
|
||||
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) ?
|
||||
len < 40 ? 40 - len : 1, " ",
|
||||
S_ISBLK(file->f_path.dentry->d_inode->i_mode) ?
|
||||
"partition" : "file\t",
|
||||
ptr->pages << (PAGE_SHIFT - 10),
|
||||
ptr->inuse_pages << (PAGE_SHIFT - 10),
|
||||
ptr->prio);
|
||||
ptr->pages << (PAGE_SHIFT - 10),
|
||||
ptr->inuse_pages << (PAGE_SHIFT - 10),
|
||||
ptr->prio);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue