Lin Feng Shen wrote:
From: Lin Feng Shen <shenlinf@cn.ibm.com>dump_swap_info() invokes get_pathname() to get the file name of swap device.
If swap_vfsmnt isn't defined but old_block_size is defined in kernel struct
swap_info_struct(e.g. 2.6 kernel), 0 is passed as vfsmnt to get_pathname().
In this case, get_pathname() won't go up to the parent vfsmnt, so the file
name of swap space is shown incompletely.
Thanks! Queued for the next release...
Dave