• T
    Btrfs: fix /proc/mounts info. · 200da64e
    Tsutomu Itoh 提交于
    Some mount options are not displayed by /proc/mounts.
    This patch displays the option such as compress_type by /proc/mounts.
    
    Ex.
      [before]
        $ mount | grep sdc2
        /dev/sdc2 on /test12 type btrfs (rw,space_cache,compress=lzo)
        $ cat /proc/mounts | grep sdc2
        /dev/sdc2 /test12 btrfs rw,relatime,compress 0 0
    
      [after]
        $ mount | grep sdc2
        /dev/sdc2 on /test12 type btrfs (rw,space_cache,compress=lzo)
        $ cat /proc/mounts | grep sdc2
        /dev/sdc2 /test12 btrfs rw,relatime,compress=lzo,space_cache 0 0
    Signed-off-by: NTsutomu Itoh <t-itoh@jp.fujitsu.com>
    Signed-off-by: NChris Mason <chris.mason@oracle.com>
    200da64e
super.c 30.3 KB