]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
UBI: block: Add support for the UBI_VOLUME_UPDATED notification
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Fri, 29 Aug 2014 21:42:29 +0000 (18:42 -0300)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 16 Sep 2014 16:02:04 +0000 (19:02 +0300)
commit06d9c2905f745c8b1920a335cbb366ba6b0fc754
treee5a777c9e2bf459f5ae1b5258218d05fdce3e6d2
parent978d6496758d19de2431ebf163337fc7b92f8c45
UBI: block: Add support for the UBI_VOLUME_UPDATED notification

Static volumes can change its 'used_bytes' when they get updated,
and so the block interface must listen to the UBI_VOLUME_UPDATED
notification to resize the block device accordingly.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Cc: stable@vger.kernel.org # v3.15+
drivers/mtd/ubi/block.c