]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[XFS] Catch errors when turning off quotas.
authorDavid Chinner <dgc@sgi.com>
Thu, 10 Apr 2008 02:20:45 +0000 (12:20 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Fri, 18 Apr 2008 01:57:26 +0000 (11:57 +1000)
commitcb6edc26c386d2268dcf61bcdec02b6fb50b6ba2
tree420f39455fd5665dd1c61ee3d2fde135c1cf5bd0
parent31d5577b35d8397dea19f2ba7550e9225605a785
[XFS] Catch errors when turning off quotas.

When turning off quota, we need to write various transactions to the log
to ensure that they are cleanly removed in the case of a crash. We need to
check that the transactions hit the disk correctly. If we fail to write
the final quota off transaction, we are corrupt in memory and so the only
option is to shut the filesystem down at this point.

SGI-PV: 980084
SGI-Modid: xfs-linux-melb:xfs-kern:30790a

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/quota/xfs_qm_syscalls.c