diff options
| author | Miklos Szeredi <miklos@szeredi.hu> | 2005-07-07 20:57:30 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-07 21:23:52 -0400 |
| commit | 751c404b8f63e8199d5f2f8f2bcfd69b41d11caa (patch) | |
| tree | d69c76ceadbaa6f5ca3fd7be881201e87ef93377 /include/linux | |
| parent | 55e700b924f9e0ba24e3a071d1097d050b05abe6 (diff) | |
[PATCH] namespace: rename _mntput to mntput_no_expire
This patch renames _mntput() to something a little more descriptive:
mntput_no_expire().
Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mount.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mount.h b/include/linux/mount.h index 196d2d6de4a3..74b4727a4e30 100644 --- a/include/linux/mount.h +++ b/include/linux/mount.h | |||
| @@ -47,7 +47,7 @@ static inline struct vfsmount *mntget(struct vfsmount *mnt) | |||
| 47 | 47 | ||
| 48 | extern void __mntput(struct vfsmount *mnt); | 48 | extern void __mntput(struct vfsmount *mnt); |
| 49 | 49 | ||
| 50 | static inline void _mntput(struct vfsmount *mnt) | 50 | static inline void mntput_no_expire(struct vfsmount *mnt) |
| 51 | { | 51 | { |
| 52 | if (mnt) { | 52 | if (mnt) { |
| 53 | if (atomic_dec_and_test(&mnt->mnt_count)) | 53 | if (atomic_dec_and_test(&mnt->mnt_count)) |
| @@ -59,7 +59,7 @@ static inline void mntput(struct vfsmount *mnt) | |||
| 59 | { | 59 | { |
| 60 | if (mnt) { | 60 | if (mnt) { |
| 61 | mnt->mnt_expiry_mark = 0; | 61 | mnt->mnt_expiry_mark = 0; |
| 62 | _mntput(mnt); | 62 | mntput_no_expire(mnt); |
| 63 | } | 63 | } |
| 64 | } | 64 | } |
| 65 | 65 | ||
