aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_alloc.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2010-01-11 11:47:48 +0000
committerAlex Elder <aelder@sgi.com>2010-01-15 15:34:30 -0600
commit8b26c5825e023b1bccac7afd174ebe55b8905cb1 (patch)
treea8d27401fc943101af7eda72f2ed040664eead68 /fs/xfs/xfs_alloc.c
parentb657fc82a3ca6d7ad16a59e81765f0fb0e86cdbb (diff)
downloadkernel_samsung_crespo-8b26c5825e023b1bccac7afd174ebe55b8905cb1.zip
kernel_samsung_crespo-8b26c5825e023b1bccac7afd174ebe55b8905cb1.tar.gz
kernel_samsung_crespo-8b26c5825e023b1bccac7afd174ebe55b8905cb1.tar.bz2
xfs: handle ENOMEM correctly during initialisation of perag structures
Add proper error handling in case an error occurs while initializing new perag structures for a mount point. The mount structure is restored to its previous state by deleting and freeing any perag structures added during the call. Signed-off-by: Dave Chinner <david@fromorbit.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_alloc.c')
0 files changed, 0 insertions, 0 deletions