Skip to content
  • Fabian Frederick's avatar
    fs/jfs/super.c: convert simple_str to kstr · bb5e50aa
    Fabian Frederick authored
    
    
    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: default avatarFabian Frederick <fabf@skynet.be>
    Signed-off-by: default avatarDave Kleikamp <dave.kleikamp@oracle.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    bb5e50aa