summaryrefslogtreecommitdiffstats
path: root/fs/jffs2/compr.h
diff options
context:
space:
mode:
authorRoman Tereshonkov <roman.tereshonkov@nokia.com>2010-09-17 13:31:42 +0300
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-10-25 00:48:49 +0100
commitd0f7959e2b708d775c3b6b53cc6a8abb8ff0a00b (patch)
treeccb0dc2fdcc6b0611fe1b19faaa841ff4430fd2b /fs/jffs2/compr.h
parent5daa7b21496aebf057c12be03038e7220e33353b (diff)
downloadlinux-d0f7959e2b708d775c3b6b53cc6a8abb8ff0a00b.tar.gz
linux-d0f7959e2b708d775c3b6b53cc6a8abb8ff0a00b.tar.bz2
linux-d0f7959e2b708d775c3b6b53cc6a8abb8ff0a00b.zip
mtd: add BLKPG API based repartition support
Add support for mtd repartition based on the block device BLKPG interface: BLKPG_ADD_PARTITION - for partition creation; BLKPG_DEL_PARTITION - for partition delete The usage is based on BLKPG ioctl called with struct blkpg_ioctl_arg argument which includes the reference to struct blkpg_partition discribing the partition offset and length. Disadvantage: there is no implementation for mtd flags control. The flags are always borrowed from the master device. Signed-off-by: Roman Tereshonkov <roman.tereshonkov@nokia.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs/jffs2/compr.h')
0 files changed, 0 insertions, 0 deletions