From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from zeniv.linux.org.uk ([195.92.253.2]:36472 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725829AbeJYItO (ORCPT ); Thu, 25 Oct 2018 04:49:14 -0400 Date: Thu, 25 Oct 2018 01:18:57 +0100 From: Al Viro To: Linus Torvalds Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [git pull] more ->lookup() cleanups Message-ID: <20181025001857.GD32577@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Some ->lookup() instances are still overcomplicating the life for themselves, open-coding the stuff that would be handled by d_splice_alias() just fine. Simplify a couple of such cases caught this cycle and document d_splice_alias() intended use. The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.lookup for you to fetch changes up to 1a16dbaf798c5b68ac767444eb045e6f3adaa16d: Document d_splice_alias() calling conventions for ->lookup() users. (2018-10-10 16:52:37 -0400) ---------------------------------------------------------------- Al Viro (3): clean erofs_lookup() simplify btrfs_lookup() Document d_splice_alias() calling conventions for ->lookup() users. Documentation/filesystems/porting | 11 +++++++++++ drivers/staging/erofs/namei.c | 19 +++++++------------ fs/btrfs/inode.c | 12 +++--------- 3 files changed, 21 insertions(+), 21 deletions(-)