Message ID | 1368694144-20863-3-git-send-email-dmitry.pervushin@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCGZDMNG4MORBJ532KGAKGQEU6UI5AQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f72.google.com (mail-qe0-f72.google.com [209.85.128.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 366AC23903 for <linaro@patches.linaro.org>; Thu, 16 May 2013 08:50:22 +0000 (UTC) Received: by mail-qe0-f72.google.com with SMTP id 1sf3852921qee.3 for <linaro@patches.linaro.org>; Thu, 16 May 2013 01:49:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=kAFsYtTZXmcRnXVN1VYU5vg1IuYKkOUTTE2AknWk6CE=; b=SYpOWJLDrnOWVNXuvqvOlo+AcKbS8CgDtgpEhoOA17njUY7dluPNJj2oWaaBgB2wff WUKGIIoCE0T6qbnlkQ71IbNsVy5k3tzQQ6PQ64PFtyv2u+RsMkVLFwTcg7JL1+/Ciwgq +TQo1HBTrO7xFdzQI5sM1lNJLP9Pt+lN+rSrfaq3WrF2RvKHdXkH+cZV/SvK6XiL0dub ArH40NA2Uh4nFt+kylIrXIqsEfiAVnIn2h8mmfyuyb2XpnolEbimv3DgZy4AvkYBk7Pv sI2RbnvkTDe4vkqAzWTvYgKyd+CU+tYSVu6Yp3F3Dklem8vGh9yWv5vTiNvW6owXxS9y yVoA== X-Received: by 10.224.165.130 with SMTP id i2mr25391791qay.2.1368694183509; Thu, 16 May 2013 01:49:43 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.109.5 with SMTP id ho5ls1178612qeb.29.gmail; Thu, 16 May 2013 01:49:43 -0700 (PDT) X-Received: by 10.220.96.76 with SMTP id g12mr26988015vcn.53.1368694183312; Thu, 16 May 2013 01:49:43 -0700 (PDT) Received: from mail-vb0-x232.google.com (mail-vb0-x232.google.com [2607:f8b0:400c:c02::232]) by mx.google.com with ESMTPS id k19si3451807vcu.14.2013.05.16.01.49.43 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 May 2013 01:49:43 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::232 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c02::232; Received: by mail-vb0-f50.google.com with SMTP id w15so62452vbb.9 for <patchwork-forward@linaro.org>; Thu, 16 May 2013 01:49:43 -0700 (PDT) X-Received: by 10.52.34.114 with SMTP id y18mr374723vdi.56.1368694183158; Thu, 16 May 2013 01:49:43 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.126.138 with SMTP id c10csp54529vcs; Thu, 16 May 2013 01:49:42 -0700 (PDT) X-Received: by 10.180.21.242 with SMTP id y18mr22248516wie.7.1368694182320; Thu, 16 May 2013 01:49:42 -0700 (PDT) Received: from mail-we0-x234.google.com (mail-we0-x234.google.com [2a00:1450:400c:c03::234]) by mx.google.com with ESMTPS id c10si995274wiz.98.2013.05.16.01.49.42 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 May 2013 01:49:42 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c03::234 is neither permitted nor denied by best guess record for domain of dmitry.pervushin@linaro.org) client-ip=2a00:1450:400c:c03::234; Received: by mail-we0-f180.google.com with SMTP id n5so2326979wev.39 for <patches@linaro.org>; Thu, 16 May 2013 01:49:42 -0700 (PDT) X-Received: by 10.180.189.136 with SMTP id gi8mr22337566wic.11.1368694181941; Thu, 16 May 2013 01:49:41 -0700 (PDT) Received: from localhost.localdomain (ANice-652-1-300-72.w83-197.abo.wanadoo.fr. [83.197.63.72]) by mx.google.com with ESMTPSA id d5sm2269026wic.1.2013.05.16.01.49.39 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 May 2013 01:49:40 -0700 (PDT) From: dmitry pervushin <dmitry.pervushin@linaro.org> To: axel.fagerstedt@linaro.org Cc: patches@linaro.org, dmitry pervushin <dmitry.pervushin@linaro.org> Subject: [PATCH 3/3] VFAT GET_VOLUME_ID ioctl Date: Thu, 16 May 2013 10:49:04 +0200 Message-Id: <1368694144-20863-3-git-send-email-dmitry.pervushin@linaro.org> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1368694144-20863-1-git-send-email-dmitry.pervushin@linaro.org> References: <1368694144-20863-1-git-send-email-dmitry.pervushin@linaro.org> X-Gm-Message-State: ALoCoQk1DrswhCC2YfWXy+qi/vRVluAZxEjBmYpDDMrIuvcOQ9eW3688kxlXroTae9j09pFB41gE X-Original-Sender: dmitry.pervushin@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::232 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post?hl=en-US>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?hl=en-US&topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/?hl=en-US> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe?hl=en-US>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/fs/fat/dir.c b/fs/fat/dir.c index 37849b1..93170fa 100644 --- a/fs/fat/dir.c +++ b/fs/fat/dir.c @@ -858,7 +858,7 @@ static long fat_compat_dir_ioctl(struct file *filp, unsigned cmd, both = 1; break; default: - return fat_generic_ioctl(filp, cmd, (unsigned long)arg); + return fat_dir_generic_ioctl(filp, cmd, (unsigned long)arg); } if (!access_ok(VERIFY_WRITE, d1, sizeof(struct compat_dirent[2])))
Add call to fat_dir_generic_ioctl to compat_ioctl to allow getting volume ids from 32-bit code as well as 64-bit Signed-off-by: dmitry pervushin <dmitry.pervushin@linaro.org> --- fs/fat/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)