Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24251
b: refs/heads/master
c: 90a59c7
h: refs/heads/master
i:
  24249: b09459d
  24247: ce766ee
v: v3
  • Loading branch information
Ian Kent authored and Linus Torvalds committed Mar 27, 2006
1 parent 71bbc25 commit 61cb9f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: e77fbddf77c071a5735a4bc63a30649bd64baf14
refs/heads/master: 90a59c7cf5dd68b41ffab61dd30eba1ef5746e66
2 changes: 1 addition & 1 deletion trunk/fs/autofs4/autofs_i.h
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ static inline int simple_positive(struct dentry *dentry)
return dentry->d_inode && !d_unhashed(dentry);
}

static inline int simple_empty_nolock(struct dentry *dentry)
static inline int __simple_empty(struct dentry *dentry)
{
struct dentry *child;
int ret = 0;
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/autofs4/root.c
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ static int autofs4_revalidate(struct dentry *dentry, struct nameidata *nd)
spin_lock(&dcache_lock);
if (S_ISDIR(dentry->d_inode->i_mode) &&
!d_mountpoint(dentry) &&
simple_empty_nolock(dentry)) {
__simple_empty(dentry)) {
DPRINTK("dentry=%p %.*s, emptydir",
dentry, dentry->d_name.len, dentry->d_name.name);
spin_unlock(&dcache_lock);
Expand Down

0 comments on commit 61cb9f0

Please sign in to comment.