From 352646ed7c0158176e18ae4bf9cee2b58aeb90ab Mon Sep 17 00:00:00 2001 From: adilger Date: Thu, 23 May 2002 21:16:40 +0000 Subject: [PATCH] Quiet compiler warnings about unused values when we don't use EA cache. --- lustre/extN/linux-2.4.18ea-0.8.26.diff | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/extN/linux-2.4.18ea-0.8.26.diff b/lustre/extN/linux-2.4.18ea-0.8.26.diff index e650ce0..ade2321 100644 --- a/lustre/extN/linux-2.4.18ea-0.8.26.diff +++ b/lustre/extN/linux-2.4.18ea-0.8.26.diff @@ -1191,7 +1191,7 @@ diff -Nur linux-2.4.18/fs/ext3/xattr.c linux-2.4.18ea/fs/ext3/xattr.c + } else if (old_bh && header == HDR(old_bh)) { + /* Keep this block. */ + new_bh = old_bh; -+ ext3_xattr_cache_insert(new_bh); ++ (void)ext3_xattr_cache_insert(new_bh); + } else { + /* We need to allocate a new block */ + int force = EXT3_I(inode)->i_file_acl != 0; @@ -1216,7 +1216,7 @@ diff -Nur linux-2.4.18/fs/ext3/xattr.c linux-2.4.18ea/fs/ext3/xattr.c + memcpy(new_bh->b_data, header, new_bh->b_size); + mark_buffer_uptodate(new_bh, 1); + unlock_buffer(new_bh); -+ ext3_xattr_cache_insert(new_bh); ++ (void)ext3_xattr_cache_insert(new_bh); + ext3_xattr_update_super_block(handle, sb); + } + error = ext3_journal_dirty_metadata(handle, new_bh); -- 1.8.3.1