OSDN Git Service

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)
commitbb5e50aaa80564268f950d1b2f764455afbfea82
tree1bb0c17abc0b51204ca7d683aadd735ee31b4e93
parent4f65b6dbc7e8e35369e3f0b9bc80e703c3ad9dbf
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