commit | e73f4459d969bb266f03dd4cbe21bdba8cb2732c | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Mon Dec 17 17:37:26 2007 +0200 |
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Wed Dec 26 19:15:17 2007 +0200 |
tree | 5af7655da65f2c33f6ea4efdfaa8b0e0670d6aea | |
parent | 9f961b57568960a150cc9781c52824c9093a0514 [diff] |
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 <Artem.Bityutskiy@nokia.com>