From patchwork Wed Oct 21 21:07:18 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Kacur X-Patchwork-Id: 36634 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from bilbo.ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 4A9FFB7DD3 for ; Thu, 22 Oct 2009 08:07:55 +1100 (EST) Received: by ozlabs.org (Postfix) id 911AEB7B9F; Thu, 22 Oct 2009 08:07:48 +1100 (EST) Delivered-To: linuxppc-dev@ozlabs.org Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by ozlabs.org (Postfix) with ESMTP id 36307B7B72 for ; Thu, 22 Oct 2009 08:07:48 +1100 (EST) Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9LL7NfB007716; Wed, 21 Oct 2009 17:07:23 -0400 Received: from vpn-10-39.str.redhat.com (vpn-10-39.str.redhat.com [10.32.10.39]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9LL7Iir031705 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 21 Oct 2009 17:07:21 -0400 Date: Wed, 21 Oct 2009 23:07:18 +0200 (CEST) From: John Kacur X-X-Sender: jkacur@localhost.localdomain To: Thomas Gleixner Subject: [PATCH] macintosh: Explicitly set llseek to no_llseek in ans-lcd In-Reply-To: <20091010153349.966159859@linutronix.de> Message-ID: References: <20091010153314.827301943@linutronix.de> <20091010153349.966159859@linutronix.de> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 Cc: Arnd Bergmann , Jonathan Corbet , Frederic Weisbecker , LKML , linuxppc-dev@ozlabs.org, Ingo Molnar , Alan Cox X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org From 0c2b412cdccf73bdeb19bb866bfe556942eaeca2 Mon Sep 17 00:00:00 2001 From: John Kacur Date: Wed, 21 Oct 2009 23:01:12 +0200 Subject: [PATCH] macintosh: Explicitly set llseek to no_llseek in ans-lcd Now that we've removed the BKL here, let's explicitly set lleek to no_llseek Signed-off-by: John Kacur --- drivers/macintosh/ans-lcd.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/macintosh/ans-lcd.c b/drivers/macintosh/ans-lcd.c index 4ae8ec9..a1a1bde 100644 --- a/drivers/macintosh/ans-lcd.c +++ b/drivers/macintosh/ans-lcd.c @@ -137,6 +137,7 @@ const struct file_operations anslcd_fops = { .write = anslcd_write, .unlocked_ioctl = anslcd_ioctl, .open = anslcd_open, + .llseedk = no_llseek, }; static struct miscdevice anslcd_dev = {