btrfs: device add must be sysloged
authorAnand Jain <Anand.Jain@oracle.com>
Mon, 30 Jun 2014 16:58:56 +0000 (00:58 +0800)
committerChris Mason <clm@fb.com>
Wed, 17 Sep 2014 20:37:20 +0000 (13:37 -0700)
commit43d207616886da1d93623ac40bd1d922a79e0d1b
tree97f97fbdfff66fae35a8ef45bad30b46f7a06cf9
parent4027e0f4c4b2df28d564560a3c65c179bebae4c8
btrfs: device add must be sysloged

when we add a new disk to the mounted btrfs we don't record it
as of now, disk add is a critical change of btrfs configuration,
it must be recorded in the syslog to help offline investigations
of customer problems when reported.

Signed-off-by: Anand Jain <Anand.Jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/ioctl.c