[XFS] Fixes a bug in the quota code when allocating a new dquot record
authorTim Shimmin <tes@sgi.com>
Sun, 4 Sep 2005 22:29:01 +0000 (08:29 +1000)
committerNathan Scott <nathans@sgi.com>
Sun, 4 Sep 2005 22:29:01 +0000 (08:29 +1000)
commitefa092f3d4c60be7e81de515db9f06e5f8426afc
tree6955d8a48cb52effb2f2352fab34bdf2291acce3
parent0f9fffbcc1817c655d6dd40960ae2e0086b0f64f
[XFS] Fixes a bug in the quota code when allocating a new dquot record
which can cause an extent hole to be filled and a free extent to be
processed. In this case, we make a few mistakes: forget to pass back the
transaction, forget to put a hold on the buffer and forget to add the buf
to the new transaction.

SGI-PV: 940366
SGI-Modid: xfs-linux:xfs-kern:23594a

Signed-off-by: Tim Shimmin <tes@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/quota/xfs_dquot.c
fs/xfs/xfs_trans.h
fs/xfs/xfs_trans_buf.c