From: Artem Bityutskiy Date: Mon, 17 Dec 2007 15:37:26 +0000 (+0200) Subject: UBI: add UBI devices reference counting X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1214a10b8a1caff16508e8b9c5158cba8c7dd0e;p=pandora-kernel.git UBI: add UBI devices reference counting This is one more step on the way to "removable" UBI devices. It adds reference counting for UBI devices. Every time a volume on this device is opened - the device's refcount is increased. It is also increased if someone is reading any sysfs file of this UBI device or of one of its volumes. Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed