Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106204
b: refs/heads/master
c: 267e2a9
h: refs/heads/master
v: v3
  • Loading branch information
Arjan van de Ven authored and Linus Torvalds committed Jul 26, 2008
1 parent 57d35a5 commit 12bd62b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 99fcd77d15357e8ba51005c25cc750b9c28b2688
refs/heads/master: 267e2a9c71b8e088ac307f9549f71468e86e26c1
5 changes: 1 addition & 4 deletions trunk/fs/proc/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -806,12 +806,9 @@ void remove_proc_entry(const char *name, struct proc_dir_entry *parent)
if (S_ISDIR(de->mode))
parent->nlink--;
de->nlink = 0;
if (de->subdir) {
printk(KERN_WARNING "%s: removing non-empty directory "
WARN(de->subdir, KERN_WARNING "%s: removing non-empty directory "
"'%s/%s', leaking at least '%s'\n", __func__,
de->parent->name, de->name, de->subdir->name);
WARN_ON(1);
}
if (atomic_dec_and_test(&de->count))
free_proc_entry(de);
}

0 comments on commit 12bd62b

Please sign in to comment.