def match_mkfs_option(fs_type, dev, needed_options):
 if fs_type.startswith('ext'):
  ret = match_ext_options(fs_type, dev, needed_options)
 elif (fs_type == 'xfs'):
  ret = match_xfs_options(dev, needed_options)
 else:
  ret = False
 return ret

def match_mkfs_option ( fs_type , dev , needed_options ) : if fs_type . startswith ( 'ext' ) : ret = match_ext_options ( fs_type , dev , needed_options ) elif ( fs_type == 'xfs' ) : ret = match_xfs_options ( dev , needed_options ) else : ret = False return ret
compare the current filesystem tunables with needed ones .