diff options
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | 2014-04-16 17:02:32 +0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-06-09 17:20:33 -0700 |
commit | 5a1972bd9fd4b2fb1bac8b7a0b636d633d8717e3 (patch) | |
tree | 93944f37e34a5669ebcf2e5fab5c05a9ad887c3a /fs/btrfs/free-space-cache.c | |
parent | 61155aa04ebcba6a33f2a281c46f351ca150d816 (diff) |
btrfs: Add ctime/mtime update for btrfs device add/remove.
Btrfs will send uevent to udev inform the device change,
but ctime/mtime for the block device inode is not udpated, which cause
libblkid used by btrfs-progs unable to detect device change and use old
cache, causing 'btrfs dev scan; btrfs dev rmove; btrfs dev scan' give an
error message.
Reported-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Cc: Karel Zak <kzak@redhat.com>
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/free-space-cache.c')
0 files changed, 0 insertions, 0 deletions