From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932143Ab3JNM22 (ORCPT ); Mon, 14 Oct 2013 08:28:28 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:64580 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932121Ab3JNM20 (ORCPT ); Mon, 14 Oct 2013 08:28:26 -0400 From: Kefeng Wang To: Alexander Viro CC: John McCutchan , "J. Bruce Fields" , Eric Paris , Robert Love , , , Subject: [PATCH 0/3] fs: use helper function path_foo() to simpily code Date: Mon, 14 Oct 2013 20:25:59 +0800 Message-ID: <1381753562-47884-1-git-send-email-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 1.8.3.msysgit.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.135.68.221] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use helper function patch_equal() and path_put() to simpily code. Kefeng Wang (3): fs: use path_equal() and path_put() to simplify code fs: nfsd: use path_equal() to simply code fs: notify: use path_equal() to simply code fs/namei.c | 20 ++++++-------------- fs/nfsd/export.c | 3 +-- fs/nfsd/nfs4xdr.c | 2 +- fs/notify/fanotify/fanotify.c | 3 +-- fs/notify/inotify/inotify_fsnotify.c | 3 +-- 5 files changed, 10 insertions(+), 21 deletions(-) -- 1.8.2.1