ext4: fix quota accounting during migration
authorDmitry Monakhov <dmonakhov@openvz.org>
Sat, 29 Oct 2011 13:05:00 +0000 (09:05 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 29 Oct 2011 13:05:00 +0000 (09:05 -0400)
The tmp_inode should have same uid/gid as the original inode.
Otherwise new metadata blocks will be accounted to wrong quota-id,
which will result in a quota leak after the inode migration is
completed.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

No differences found