<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Lin Feng Shen wrote:
<blockquote TYPE=CITE> 
<br><tt><font size=-1>From: Lin Feng Shen <shenlinf@cn.ibm.com></font></tt>
<p><font face="sans-serif"><font size=-1>dump_swap_info() invokes get_pathname()
to get the file name of swap device.</font></font>
<br><font face="sans-serif"><font size=-1>If swap_vfsmnt isn't defined
but old_block_size is defined in kernel struct</font></font>
<br><font face="sans-serif"><font size=-1>swap_info_struct(e.g. 2.6 kernel),
0 is passed as vfsmnt to get_pathname().</font></font>
<br><font face="sans-serif"><font size=-1>In this case, get_pathname()
won't go up to the parent vfsmnt, so the file</font></font>
<br><font face="sans-serif"><font size=-1>name of swap space is shown incompletely.</font></font>
<br> </blockquote>

<p><br>Thanks!  Queued for the next release...
<p>Dave
<br> </html>