]> git.baikalelectronics.ru Git - kernel.git/commit
fs/jfs/super.c: convert simple_str to kstr
authorFabian Frederick <fabf@skynet.be>
Wed, 21 May 2014 18:29:29 +0000 (20:29 +0200)
committerDave Kleikamp <dave.kleikamp@oracle.com>
Tue, 3 Jun 2014 19:14:00 +0000 (14:14 -0500)
commita61d19e6ba0b390b70cf1eab395c0a0907e14a1e
tree1bb0c17abc0b51204ca7d683aadd735ee31b4e93
parentdf94b4a494d04cc0a9c90e4a564fcb092d8ee9d0
fs/jfs/super.c: convert simple_str to kstr

This patch replaces obsolete simple_str functions by kstr

use kstrtouint for
-uid_t ( __kernel_uid32_t )
-gid_t ( __kernel_gid32_t )
-jfs_sb_info->umask
-jfs_sb_info->minblks_trim
(all unsigned int)

newLVSize is s64 -> use kstrtol

Current parse_options behaviour stays the same ie it doesn't return kstr
rc but just 0 if function failed (parse_options callsites
return -EINVAL when there's anything wrong).

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
fs/jfs/super.c