diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-01-05 10:25:59 -0500 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-01-12 06:19:15 -0500 |
commit | b531b55a7bde8aa2bdf7023b3afc6df1bf3dcb67 (patch) | |
tree | d6045d623d645f6481ae5b1cab5e8288d293f345 /lib/ctype.c | |
parent | ff998793288b49a3b22d929bf8e56362320905ff (diff) |
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 'lib/ctype.c')
0 files changed, 0 insertions, 0 deletions