{
xfs_inode_t *ip = NULL;
char *name, *value, *sp;
- int c, namelen, valuelen = 0, flags = 0;
+ int c, valuelen = 0, flags = 0;
if (cur_typ == NULL) {
dbprintf(_("no current type\n"));
}
name = argv[optind];
- namelen = strlen(name);
if (valuelen) {
value = (char *)memalign(getpagesize(), valuelen);
{
xfs_inode_t *ip = NULL;
char *name;
- int c, namelen, flags = 0;
+ int c, flags = 0;
if (cur_typ == NULL) {
dbprintf(_("no current type\n"));
}
name = argv[optind];
- namelen = strlen(name);
if (libxfs_iget(mp, NULL, iocur_top->ino, 0, &ip, 0)) {
dbprintf(_("failed to iget inode %llu\n"),
{
xfs_bmdr_block_t *block;
xfs_bmdr_key_t *kp;
- xfs_dinode_t *dip;
ASSERT(bitoffs(startoff) == 0);
ASSERT(obj == iocur_top->data);
- dip = obj;
block = (xfs_bmdr_block_t *)((char *)obj + byteize(startoff));
ASSERT(be16_to_cpu(block->bb_level) > 0);
kp = XFS_BMDR_KEY_ADDR(block, idx);
error = 0;
if (dflag | aflag) {
xfs_growfs_data_t in;
- __uint64_t new_agcount;
if (!mflag)
maxpct = geo.imaxpct;
error = 1;
}
- new_agcount = dsize / geo.agblocks
- + (dsize % geo.agblocks != 0);
-
if (!error && dsize < geo.datablocks) {
fprintf(stderr, _("data size %lld too small,"
" old size is %lld\n"),
int max_extents = 0;
int num_extents = 32;
int last = 0;
- int nflag = 0;
int lflag = 0;
int vflag = 0;
int fiemap_flags = FIEMAP_FLAG_SYNC;
break;
case 'n':
max_extents = atoi(optarg);
- nflag = 1;
break;
case 'v':
vflag++;
xfs_fsblock_t first;
xfs_inode_t *ip;
xfs_trans_t *tp;
- xfs_dahash_t hashval;
dir_hash_tab_t *hashtab;
int need_dot, committed;
int dirty, num_illegal, error, nres;
}
dir_hash_done(hashtab);
- hashval = 0;
-
/*
* We don't support repairing of v1 dir anymore, report errors and exit
*/
{
register int c, i, r, errflg = 0;
struct stat64 s2;
- int eflag;
int extsize = - 1;
progname = basename(argv[0]);
while ((c = getopt(argc, argv, "pe:V")) != EOF) {
switch (c) {
case 'e':
- eflag = 1;
extsize = atoi(optarg);
break;
case 'p':