Whamcloud - gitweb
libext2fs: use ext2fs_punch() to truncate quota file
authorDarrick J. Wong <darrick.wong@oracle.com>
Sun, 15 Dec 2013 00:52:40 +0000 (19:52 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 15 Dec 2013 00:52:43 +0000 (19:52 -0500)
commita9825cfe945e6dc6e300f89e7e613b80afde0189
tree3855833b282755235ef8677ec3a795941ae5ffc6
parent4c6fd9c20a3473db3fe419d613244e26c4a92b7b
libext2fs: use ext2fs_punch() to truncate quota file

Use the new ext2fs_punch() call to truncate the quota file.  This also
eliminates the need to fix it to work with bigalloc.

Reviewed-by: Zheng Liu <wenqing.lz@taobao.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/quota/quotaio.c