Return-Path: Received: from magus.merit.edu ([198.108.1.13]:45938 "EHLO magus.merit.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750796Ab0KBUKN (ORCPT ); Tue, 2 Nov 2010 16:10:13 -0400 Date: Tue, 2 Nov 2010 16:10:00 -0400 From: Jim Rees To: Benny Halevy Cc: linux-nfs@vger.kernel.org, peter honeyman Subject: [PATCH 3/6] blkmapd: don't use atomicio() where it's not needed Message-ID: References: Content-Type: text/plain; charset=us-ascii In-Reply-To: Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 Signed-off-by: Jim Rees Signed-off-by: Benny Halevy --- utils/blkmapd/device-process.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/utils/blkmapd/device-process.c b/utils/blkmapd/device-process.c index 9e91840..c4e72ea 100644 --- a/utils/blkmapd/device-process.c +++ b/utils/blkmapd/device-process.c @@ -121,7 +121,7 @@ read_cmp_blk_sig(const char *dev_name, struct bl_sig_comp *comp, goto error; } - if (atomicio(read, fd, sig, comp->bs_length) != comp->bs_length) { + if (read(fd, sig, comp->bs_length) != comp->bs_length) { BL_LOG_ERR("File %s read error\n", dev_name); goto error; } -- 1.7.1