From: Artem Bityutskiy Date: Mon, 17 Dec 2007 15:37:26 +0000 (+0200) Subject: UBI: add UBI devices reference counting X-Git-Tag: v2.6.25-rc1~296^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e73f4459d969bb266f03dd4cbe21bdba8cb2732c;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