Skip to content

Commit 0c9ec4b

Browse files
djwongtytso
authored andcommitted
ext4: support GETFSMAP ioctls
Support the GETFSMAP ioctls so that we can use the xfs free space management tools to probe ext4 as well. Note that this is a partial implementation -- we only report fixed-location metadata and free space; everything else is reported as "unknown". Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
1 parent d0649f0 commit 0c9ec4b

File tree

8 files changed

+1027
-5
lines changed

8 files changed

+1027
-5
lines changed

fs/ext4/Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
obj-$(CONFIG_EXT4_FS) += ext4.o
66

7-
ext4-y := balloc.o bitmap.o dir.o file.o fsync.o ialloc.o inode.o page-io.o \
8-
ioctl.o namei.o super.o symlink.o hash.o resize.o extents.o \
9-
ext4_jbd2.o migrate.o mballoc.o block_validity.o move_extent.o \
10-
mmp.o indirect.o extents_status.o xattr.o xattr_user.o \
11-
xattr_trusted.o inline.o readpage.o sysfs.o
7+
ext4-y := balloc.o bitmap.o block_validity.o dir.o ext4_jbd2.o extents.o \
8+
extents_status.o file.o fsmap.o fsync.o hash.o ialloc.o \
9+
indirect.o inline.o inode.o ioctl.o mballoc.o migrate.o \
10+
mmp.o move_extent.o namei.o page-io.o readpage.o resize.o \
11+
super.o symlink.o sysfs.o xattr.o xattr_trusted.o xattr_user.o
1212

1313
ext4-$(CONFIG_EXT4_FS_POSIX_ACL) += acl.o
1414
ext4-$(CONFIG_EXT4_FS_SECURITY) += xattr_security.o

0 commit comments

Comments
 (0)