summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/free-space-cache.c
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2014-04-16 11:02:32 +0200
committerChris Mason <clm@fb.com>2014-06-10 02:20:33 +0200
commit5a1972bd9fd4b2fb1bac8b7a0b636d633d8717e3 (patch)
tree93944f37e34a5669ebcf2e5fab5c05a9ad887c3a /fs/btrfs/free-space-cache.c
parentbtrfs: assert that send is not in progres before root deletion (diff)
downloadlinux-5a1972bd9fd4b2fb1bac8b7a0b636d633d8717e3.tar.xz
linux-5a1972bd9fd4b2fb1bac8b7a0b636d633d8717e3.zip
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 '')
0 files changed, 0 insertions, 0 deletions