"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/support/mkquota.c" between
e2fsprogs-1.46.6.tar.gz and e2fsprogs-1.47.0.tar.gz

About: e2fsprogs provides the filesystem utilities for use with the ext2 filesystem. It also supports the ext3 and ext4 filesystems.

mkquota.c  (e2fsprogs-1.46.6):mkquota.c  (e2fsprogs-1.47.0)
skipping to change at line 511 skipping to change at line 511
ext2fs_close_inode_scan(scan); ext2fs_close_inode_scan(scan);
free(inode); free(inode);
return ret; return ret;
} }
if (ino == 0) if (ino == 0)
break; break;
if (!inode->i_links_count) if (!inode->i_links_count)
continue; continue;
if (ino == EXT2_ROOT_INO || if (ino == EXT2_ROOT_INO ||
(ino >= EXT2_FIRST_INODE(fs->super) && (ino >= EXT2_FIRST_INODE(fs->super) &&
ino != quota_type2inum(PRJQUOTA, fs->super))) { ino != quota_type2inum(PRJQUOTA, fs->super) &&
ino != fs->super->s_orphan_file_inum)) {
space = ext2fs_get_stat_i_blocks(fs, space = ext2fs_get_stat_i_blocks(fs,
EXT2_INODE(inode)) << 9; EXT2_INODE(inode)) << 9;
quota_data_add(qctx, inode, ino, space); quota_data_add(qctx, inode, ino, space);
quota_data_inodes(qctx, inode, ino, +1); quota_data_inodes(qctx, inode, ino, +1);
} }
} }
ext2fs_close_inode_scan(scan); ext2fs_close_inode_scan(scan);
free(inode); free(inode);
return 0; return 0;
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)