diff options
author | Tsutomu Itoh <t-itoh@jp.fujitsu.com> | 2011-03-31 00:44:29 (GMT) |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-04-05 05:19:41 (GMT) |
commit | 200da64e0b039f873f0f20481e6a7d056e7cc6c9 (patch) | |
tree | 11cd911aa441efdde26260b72a642daef0fd61f0 /lib/kobject.c | |
parent | c9149235a42ab93914434fff45c44b45023363f3 (diff) | |
download | linux-200da64e0b039f873f0f20481e6a7d056e7cc6c9.tar.xz |
Btrfs: fix /proc/mounts info.
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: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions