Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4299
b: refs/heads/master
c: 751c404
h: refs/heads/master
i:
  4297: d0140df
  4295: b2cc982
v: v3
  • Loading branch information
Miklos Szeredi authored and Linus Torvalds committed Jul 8, 2005
1 parent 7f0d8bb commit de17c31
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 55e700b924f9e0ba24e3a071d1097d050b05abe6
refs/heads/master: 751c404b8f63e8199d5f2f8f2bcfd69b41d11caa
2 changes: 1 addition & 1 deletion trunk/fs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/*
Expand Down
4 changes: 2 additions & 2 deletions trunk/include/linux/mount.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static inline struct vfsmount *mntget(struct vfsmount *mnt)

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))
Expand All @@ -59,7 +59,7 @@ static inline void mntput(struct vfsmount *mnt)
{
if (mnt) {
mnt->mnt_expiry_mark = 0;
_mntput(mnt);
mntput_no_expire(mnt);
}
}

Expand Down

0 comments on commit de17c31

Please sign in to comment.