summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-06-25 13:11:54 +0200
committerBrian Norris <computersforpeace@gmail.com>2017-07-13 10:54:45 -0700
commit7d84120b5ba61912a5333f5fe2c4e8f35ef9514f (patch)
treeffd8a74d215725b93564f987efc53baddc0bc10e /Documentation/ABI/testing
parentef32476f268c321c101d3e09e05c7fd9a77177cb (diff)
downloadlinux-7d84120b5ba61912a5333f5fe2c4e8f35ef9514f.tar.gz
linux-7d84120b5ba61912a5333f5fe2c4e8f35ef9514f.tar.bz2
linux-7d84120b5ba61912a5333f5fe2c4e8f35ef9514f.zip
Documentation: ABI: mtd: describe "offset" more precisely
So far Linux supported only two levels of MTD devices so we didn't need a very precise description for this sysfs file. With commit 97519dc52b44a ("mtd: partitions: add support for subpartitions") there is support for a tree structure so we should have more precise description. Using "parent" and "flash device" makes it more accurate. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'Documentation/ABI/testing')
-rw-r--r--Documentation/ABI/testing/sysfs-class-mtd6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-mtd b/Documentation/ABI/testing/sysfs-class-mtd
index 3b5c3bca9186..f34e592301d1 100644
--- a/Documentation/ABI/testing/sysfs-class-mtd
+++ b/Documentation/ABI/testing/sysfs-class-mtd
@@ -229,6 +229,6 @@ KernelVersion: 4.1
Contact: linux-mtd@lists.infradead.org
Description:
For a partition, the offset of that partition from the start
- of the master device in bytes. This attribute is absent on
- main devices, so it can be used to distinguish between
- partitions and devices that aren't partitions.
+ of the parent (another partition or a flash device) in bytes.
+ This attribute is absent on flash devices, so it can be used
+ to distinguish them from partitions.