Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp142939pxf; Thu, 25 Mar 2021 00:03:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFXE7BJU8KdMmUkrl/qEDNDWPiWpxRS9WKHOo4o2UlyMI51AwY0FO/Jk2tkOeuZSdWhx7q X-Received: by 2002:aa7:cd6a:: with SMTP id ca10mr7430860edb.7.1616655839721; Thu, 25 Mar 2021 00:03:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616655839; cv=none; d=google.com; s=arc-20160816; b=kP+SbjllhWw5mCC6K2/EgReSm7JReA88eDPriDvxMD3RS8dxRH1RKixotnuASUViFy Cf4TRgpbOYHH/tDYmkI53UoZE6WCBVM9vFKv7/CgmMz9LCum995kWaCrNMNTpmqVFVfV GwKGWbh2GyOqtZZLk73SLKgUAfuVEMbWLEXM+K8FjA7vOILmbx6dwtnNNnnwDjqmFcZD 6sZVjoSD8jQ2SWdqvDu3pHU+Vf3sqweTV8+oRu6xORluNUTru4RwLBxAvIvjGXEDafXN lxw3rQFI1IbJjA1oGM9YqguKDIWaFsU5LkYdz0R2teVZdRgsh3N3yg2qJM7HO96r46YO etLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=ZBS01STQY/e84ZbZXwWN2NO2ZoJ35vTyQllDfE+Zr0g=; b=c0hfqxxxeneYjc/sJhC2koM6ENQwi+lnApZDL2T/5GiR6r2oYw6aamKTn5Imaps3bg ue9g4w6HseWXApvysPWI/5v7QwSgMAGw7Dd8AoyuHtzCzWRmH6DuoMcGq9wTi68XaxL2 uHur0ZuVBf2q91wj2WwVZuzMeHL21T4dY6izEyh4KU7IAICnH8i5HUI1uUBwr28f6TPw 3/LYJT91yP3Plw8Fx0SwsyOgIdEkreu+Lpj3aL7GOJii9BHyDTjek5vupvQ1U12fE5WU ythbP76YQ46Ylk/LsZlcVv9TApXpCwSqZyAlPKe3Os/2eBmEOD3nAMp7P/U0WXzCqL2k KdvQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y3si3490599edo.515.2021.03.25.00.03.37; Thu, 25 Mar 2021 00:03:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229695AbhCYHA1 (ORCPT + 99 others); Thu, 25 Mar 2021 03:00:27 -0400 Received: from mail-m17637.qiye.163.com ([59.111.176.37]:34108 "EHLO mail-m17637.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229508AbhCYHAS (ORCPT ); Thu, 25 Mar 2021 03:00:18 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m17637.qiye.163.com (Hmail) with ESMTPA id E90809804B6; Thu, 25 Mar 2021 15:00:14 +0800 (CST) From: Wan Jiabing To: Christian Brauner , Miklos Szeredi , Al Viro , Mattias Nissler , Aleksa Sarai , Eric Biggers , Wan Jiabing , linux-kernel@vger.kernel.org Cc: kael_w@yeah.net Subject: [PATCH] include: linux: struct path is declared twice Date: Thu, 25 Mar 2021 15:00:06 +0800 Message-Id: <20210325070008.856967-1-wanjiabing@vivo.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZSEgeQh1ITUpNQ0MYVkpNSk1NTk5NSk5JTEtVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKQ1VLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6Njo6TSo4ED8LFj4IIzEWMxw9 DC0aFBdVSlVKTUpNTU5OTUpNSk1CVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFKQ0xDNwY+ X-HM-Tid: 0a78682f04c1d992kuwse90809804b6 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct path has been declared at 85th line. Remove the duplicate. Signed-off-by: Wan Jiabing --- include/linux/mount.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/mount.h b/include/linux/mount.h index 5d92a7e1a742..30272f961af7 100644 --- a/include/linux/mount.h +++ b/include/linux/mount.h @@ -94,7 +94,6 @@ extern struct vfsmount *mnt_clone_internal(const struct path *path); extern bool __mnt_is_readonly(struct vfsmount *mnt); extern bool mnt_may_suid(struct vfsmount *mnt); -struct path; extern struct vfsmount *clone_private_mount(const struct path *path); extern int __mnt_want_write(struct vfsmount *); extern void __mnt_drop_write(struct vfsmount *); -- 2.25.1