summaryrefslogtreecommitdiff
path: root/drivers/mtd/ubi/upd.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-01-05 15:25:59 (GMT)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-01-12 11:19:15 (GMT)
commitb531b55a7bde8aa2bdf7023b3afc6df1bf3dcb67 (patch)
treed6045d623d645f6481ae5b1cab5e8288d293f345 /drivers/mtd/ubi/upd.c
parentff998793288b49a3b22d929bf8e56362320905ff (diff)
downloadlinux-fsl-qoriq-b531b55a7bde8aa2bdf7023b3afc6df1bf3dcb67.tar.xz
UBI: add more checks to chdev open
When opening UBI volumes by their character device names, make sure we are opening character devices, not block devices or any other inode type. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi/upd.c')
0 files changed, 0 insertions, 0 deletions