lkml.org 
[lkml]   [2011]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[098/262] vfs: add "device" tag to /proc/self/mountstats
    3.0-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Bryan Schumaker <bjschuma@netapp.com>

    commit a877ee03ac010ded434b77f7831f43cbb1fcc60f upstream.

    nfsiostat was failing to find mounted filesystems on kernels after
    2.6.38 because of changes to show_vfsstat() by commit
    c7f404b40a3665d9f4e9a927cc5c1ee0479ed8f9. This patch adds back the
    "device" tag before the nfs server entry so scripts can parse the
    mountstats file correctly.

    Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    fs/namespace.c | 1 +
    1 file changed, 1 insertion(+)

    --- a/fs/namespace.c
    +++ b/fs/namespace.c
    @@ -1109,6 +1109,7 @@ static int show_vfsstat(struct seq_file

    /* device */
    if (mnt->mnt_sb->s_op->show_devname) {
    + seq_puts(m, "device ");
    err = mnt->mnt_sb->s_op->show_devname(m, mnt);
    } else {
    if (mnt->mnt_devname) {



    \
     
     \ /
      Last update: 2011-11-10 04:31    [W:0.043 / U:31.232 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site