[PATCH] UBI: weaken the 'exclusive' constraint when opening volumes to rename
dedekind1 at gmail.com
Sun May 4 23:39:29 PDT 2014
On Wed, 2014-04-16 at 17:47 -0300, Ezequiel Garcia wrote:
> The UBI volume rename ioctl (UBI_IOCRNVOL) open the volumes in exclusive
> mode. The volumes are opened for two reasons: to build a volume rename list,
> and a volume remove list.
> However, the first open constraint is excessive and can be replaced by
> a 'read-write' open mode. The second open constraint is properly set as
> 'exclusive' given the volume is opened for removal and we don't want any
> users around.
Pushed to l2-mtd.git, thanks!
More information about the linux-mtd