]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ext4: hook the ext3 migration interface to the EXT4_IOC_SETFLAGS ioctl
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 9 Oct 2008 03:34:06 +0000 (23:34 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 9 Oct 2008 03:34:06 +0000 (23:34 -0400)
commit4db46fc266b84a04b73b7a4c6ebe8a543a62a2ff
tree603429d04ff87a2ffbcd311420aa1a2b2ba54d41
parent2a43a878001cc5cb7c3c7be2e8dad0a1aeb939b0
ext4: hook the ext3 migration interface to the EXT4_IOC_SETFLAGS ioctl

This patch hooks the ext3 to ext4 migrate interface to
EXT4_IOC_SETFLAGS ioctl. The userspace interface is via chattr +e.  We
only allow setting extent flags.  Clearing extent flag (migrating from
ext4 to ext3) is not supported.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/ioctl.c