MD:Update superblock when err == 0 in size_store
authorXiao Ni <xni@redhat.com>
Sun, 12 Jun 2016 09:18:00 +0000 (17:18 +0800)
committerShaohua Li <shli@fb.com>
Mon, 13 Jun 2016 18:54:11 +0000 (11:54 -0700)
commit4ba1e78891e9858a5c773e6ffe4414611019bf42
tree13016219006a673227ec0e11bc2386f9ec728e03
parent5b1f5bc3323ece3726206a46ce64a92ace2c8df8
MD:Update superblock when err == 0 in size_store

This is a simple check before updating the superblock. It should update
the superblock when update_size return 0.

Signed-off-by: Xiao Ni <xni@redhat.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/md.c