ocfs2-return-enomem-when-sb_getblk-fails-update.patch removed from -mm tree
Subject: [folded-merged] ocfs2-return-enomem-when-sb_getblk-fails-update.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 12 Nov 2013 14:31:06 -0800
The patch titled
Subject: ocfs2-return-enomem-when-sb_getblk-fails-update
has been removed from the -mm tree. Its filename was
ocfs2-return-enomem-when-sb_getblk-fails-update.patch
This patch was dropped because it was folded into ocfs2-return-enomem-when-sb_getblk-fails.patch
------------------------------------------------------
From: Joseph Qi <[email protected]>
Subject: ocfs2-return-enomem-when-sb_getblk-fails-update
ocfs2_symlink_get_block in aops.c, and ocfs2_read_blocks_sync and ocfs2_read_blocks in buffer_head_io.c need do the same change for consistency.
---
fs/ocfs2/aops.c | 1 + fs/ocfs2/buffer_head_io.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-)
fs/ocfs2/aops.c renamed from fs/ocfs2/aops.c~ocfs2-return-enomem-when-sb_getblk-fails-update +1 -0
@@ -93,6 +93,7 @@ static int ocfs2_symlink_get_block(struc iblock; buffer_cache_bh =sb_getblk (osb->sb, blkno);if (!buffer_cache_bh) { + err = -ENOMEM ;mlog (ML_ERROR ,"couldn't getblock for symlink!\n" ); goto bail; }
fs/ocfs2/buffer_head_io.c renamed from fs/ocfs2/buffer_head_io.c~ocfs2-return-enomem-when-sb_getblk-fails-update +2 -2
@@ -115,7 +115,7 @@ int ocfs2_read_blocks_sync(struct ocfs2_if (bhs[i] ==NULL ) { bhs[i] =sb_getblk (osb->sb, block++);if (bhs[i] ==NULL ) { - status = -EIO ; + status = -ENOMEM ;mlog_errno (status); goto bail; }
@@ -214,7 +214,7 @@ int ocfs2_read_blocks(struct ocfs2_cachi bhs[i] =sb_getblk (sb, block++);if (bhs[i] ==NULL ) {ocfs2_metadata_cache_io_unlock (ci); - status = -EIO ; + status = -ENOMEM ;mlog_errno (status); goto bail; }
_
Patches currently in -mm which might be from [email protected] are
ocfs2-return-enomem-when-sb_getblk-fails.patch ocfs2-add-necessary-check-in-case-sb_getblk-fails-update.patch