summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_ialloc.h
diff options
context:
space:
mode:
authorDavid Chinner <dgc@sgi.com>2005-09-02 10:40:47 +0400
committerNathan Scott <nathans@sgi.com>2005-09-02 10:40:47 +0400
commit3bdbfb104e53b367892cc9510e6722346dfb656b (patch)
treef4528809d197fc687a73b8152fab8356540455ba /fs/xfs/xfs_ialloc.h
parentbcec2b7f2bf856bdf2a8780a57fe78417a513682 (diff)
downloadlinux-3bdbfb104e53b367892cc9510e6722346dfb656b.tar.xz
[XFS] Prevent the incore superblock sb_fdblocks count from leaking when we
are getting ENOSPC errors on writes. When we fail to allocate space for indirect blocks in xfs_bmapi() make sure we release the direct block allocation before returning. SGI-PV: 938502 SGI-Modid: xfs-linux:xfs-kern:22986a Signed-off-by: David Chinner <dgc@sgi.com> Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_ialloc.h')
0 files changed, 0 insertions, 0 deletions