Received: by 2002:ac0:adb4:0:0:0:0:0 with SMTP id o49-v6csp5225imb; Tue, 10 Jul 2018 19:26:33 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf2p+4h5zYUyL/8botmzVKvzsDbhQO4YOYux1Y7ITUdabqzRBJYI3VD65ETSKo4Blqn0tHQ X-Received: by 2002:a17:902:7043:: with SMTP id h3-v6mr26993335plt.269.1531275993822; Tue, 10 Jul 2018 19:26:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531275993; cv=none; d=google.com; s=arc-20160816; b=v/smP5xSqYBLNnTstMAe+fU2nAsDhzf4dEJl8Nfl9mkwCJR+ARvVQWPaFA8U48Wine pgJjZdm9JyzuFQco6loRj4ox6jRs4HsFQ4A0k1ufATq6GY35uKapSyv8eN7YWCwERTir 0PilkENtHb5XZgMANDHGj8QrEobU8SpprD5V7rP7zp460ripqLA+gJS1fc8PY1LgTmTj 8O/Iw3+yhKYJgJoqTgOx7JxsSj+ktx8Fc88mwr5vtWVhudIppm6rdrOf+wWOm+4Rheud +8MZfDHzLswbTxh9ZUb92TkOzswbTYl/SzbwjgoU9JbRqd2TL9eBcNUZ56ZqVYh5K5/0 pAhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=wE1RZXUuHcKI4kizyystO9JliiI6nKV43F19DsChvQI=; b=Pr8cInBrTINLaF3UHhULqK8ohyoacc+Q6hzZbsFDpXgvU4YclElyyevC5IMwICPuGw 0M3OZ7L6hH1WVjYJ6zue8fW7abUEbFbrs2YAVWZCl03m316XCXDpvkaQ3PzBt1M25Kjk aVqG2lP/elvG6sYH4w4lOJzOcr00CfXWAQTgO+P8p90TOw0/uVLKS5xBCbTqlm3wAqRP mo6tYYwM637mAu2sINcb9top7C9/z/2LQYy0TbqTE2QMqEs+4TNOmuRZ+MRKb5QAc+Fq o5ZBSfBoDeKqCLvOECzMSrEthhzJoGk8iKMYYnDdVd7+9pjfT4Tdd5sUlg4bOEkHJG9r t/tg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s71-v6si19271120pfa.367.2018.07.10.19.26.17; Tue, 10 Jul 2018 19:26:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732807AbeGKC0R (ORCPT + 99 others); Tue, 10 Jul 2018 22:26:17 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:45642 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732486AbeGKCYG (ORCPT ); Tue, 10 Jul 2018 22:24:06 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.87 #1 (Red Hat Linux)) id 1fd4ld-0003KH-1B; Wed, 11 Jul 2018 02:22:09 +0000 From: Al Viro To: Linus Torvalds Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Miklos Szeredi Subject: [RFC][PATCH 27/42] kill FILE_{CREATED,OPENED} Date: Wed, 11 Jul 2018 03:21:51 +0100 Message-Id: <20180711022206.12571-27-viro@ZenIV.linux.org.uk> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20180711022206.12571-1-viro@ZenIV.linux.org.uk> References: <20180711021136.GN30522@ZenIV.linux.org.uk> <20180711022206.12571-1-viro@ZenIV.linux.org.uk> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Al Viro no users left Signed-off-by: Al Viro --- include/linux/fs.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/linux/fs.h b/include/linux/fs.h index c25896b30e9f..bd904c496878 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2436,10 +2436,6 @@ extern struct filename *getname(const char __user *); extern struct filename *getname_kernel(const char *); extern void putname(struct filename *name); -enum { - FILE_CREATED = 1, - FILE_OPENED = 2 -}; extern int finish_open(struct file *file, struct dentry *dentry, int (*open)(struct inode *, struct file *)); extern int finish_no_open(struct file *file, struct dentry *dentry); -- 2.11.0