ext4: fix the number of credits needed for ext4_ext_migrate()
authorTheodore Ts'o <tytso@mit.edu>
Sat, 9 Feb 2013 17:50:27 +0000 (12:50 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 9 Feb 2013 17:50:27 +0000 (12:50 -0500)
commit4b217630d0ec277c961e57f6d2985433b352c2ce
treef3c5b921d2dd825677b73ee4d4fb97c586d7661a
parent8dcfaad244cdfa245cc2b4ddf42cea5fd8b80ece
ext4: fix the number of credits needed for ext4_ext_migrate()

The migration ioctl creates a temporary inode.  Since this inode is
never linked to a directory, we don't need to reserve journal credits
required for modifying the directory.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
fs/ext4/migrate.c