Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261373AbVE3Kko (ORCPT ); Mon, 30 May 2005 06:40:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261384AbVE3Kka (ORCPT ); Mon, 30 May 2005 06:40:30 -0400 Received: from rev.193.226.233.9.euroweb.hu ([193.226.233.9]:27915 "EHLO dorka.pomaz.szeredi.hu") by vger.kernel.org with ESMTP id S261373AbVE3Kij (ORCPT ); Mon, 30 May 2005 06:38:39 -0400 To: akpm@osdl.org CC: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCH 2/2] namespace: rename _mntput to mntput_no_expire Message-Id: From: Miklos Szeredi Date: Mon, 30 May 2005 12:38:23 +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1466 Lines: 45 This patch renames _mntput() to something a little more descriptive: mntput_no_expire(). Signed-off-by: Miklos Szeredi Index: linux/include/linux/mount.h =================================================================== --- linux.orig/include/linux/mount.h 2005-05-29 13:42:33.000000000 +0200 +++ linux/include/linux/mount.h 2005-05-29 13:42:37.000000000 +0200 @@ -47,7 +47,7 @@ static inline struct vfsmount *mntget(st extern void __mntput(struct vfsmount *mnt); -static inline void _mntput(struct vfsmount *mnt) +static inline void mntput_no_expire(struct vfsmount *mnt) { if (mnt) { if (atomic_dec_and_test(&mnt->mnt_count)) @@ -59,7 +59,7 @@ static inline void mntput(struct vfsmoun { if (mnt) { mnt->mnt_expiry_mark = 0; - _mntput(mnt); + mntput_no_expire(mnt); } } Index: linux/fs/namei.c =================================================================== --- linux.orig/fs/namei.c 2005-05-29 13:42:33.000000000 +0200 +++ linux/fs/namei.c 2005-05-29 13:43:09.000000000 +0200 @@ -314,7 +314,7 @@ void path_release(struct nameidata *nd) void path_release_on_umount(struct nameidata *nd) { dput(nd->dentry); - _mntput(nd->mnt); + mntput_no_expire(nd->mnt); } /* - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/