diff options
author | David Chinner <dgc@sgi.com> | 2007-11-23 00:28:17 -0500 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-02-07 02:15:29 -0500 |
commit | 8ae2c0f64a81a93d2c394eacee29d6ced53b54f9 (patch) | |
tree | 6a28f5609daaaa7e8b069323c9a19e9cd87772c4 /fs/xfs/xfs_fsops.c | |
parent | a8272ce0c1d49aa3bec57682678f0bdfe28ed4ca (diff) |
[XFS] Fix sparse warning in xlog_recover_do_efd_trans.
Sparse trips over the locking order in xlog_recover_do_efd_trans() when
xfs_trans_delete_ail() drops the ail lock. Because the unlock is
conditional, we need to either annotate with a "fake unlock" or change the
structure of the code so sparse thinks the function always unlocks.
Reordering the code makes it simpler, so do that.
SGI-PV: 972755
SGI-Modid: xfs-linux-melb:xfs-kern:30003a
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_fsops.c')
0 files changed, 0 insertions, 0 deletions