From: Qu Wenruo Date: Wed, 16 Apr 2014 09:02:32 +0000 (+0800) Subject: btrfs: Add ctime/mtime update for btrfs device add/remove. X-Git-Tag: omap-for-v3.16/fixes-against-rc1~54^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a1972bd9fd4b2fb1bac8b7a0b636d633d8717e3;p=pandora-kernel.git 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 Cc: Karel Zak Signed-off-by: Qu Wenruo Signed-off-by: Chris Mason --- Reading git-diff-tree failed