]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - debugfs/set_fields.c
debugfs: allow bmap to allocate blocks
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 22 Jul 2014 16:44:42 +0000 (12:44 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 22 Jul 2014 17:52:25 +0000 (13:52 -0400)
commitfa633bf9f60b1fe69444fd5c1fdcbce437a4f3c6
tree716f8d1a23229faf86e3a11476b060ab5e6346f6
parente13ebfdd5f13876de1b978c8a5ed5a322ed7ba62
debugfs: allow bmap to allocate blocks

Allow set_inode_field's bmap command in debugfs to allocate blocks,
which enables us to allocate blocks for indirect blocks and internal
extent tree blocks.  True, we could do this manually, but seems like
unnecessary bookkeeping activity for humans.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debugfs/set_fields.c