Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 59113
b: refs/heads/master
c: 7a23ad4
h: refs/heads/master
i:
  59111: c8b2acc
v: v3
  • Loading branch information
Tejun Heo authored and Greg Kroah-Hartman committed Jul 11, 2007
1 parent f7674ca commit 282b518
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 2b611bb7abdcc08278453fc9f6517401fd69ef95
refs/heads/master: 7a23ad44047b1084a032bc0d127fe08af024593a
2 changes: 1 addition & 1 deletion trunk/fs/sysfs/sysfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ static inline struct sysfs_dirent * sysfs_get(struct sysfs_dirent * sd)

static inline void sysfs_put(struct sysfs_dirent * sd)
{
if (atomic_dec_and_test(&sd->s_count))
if (sd && atomic_dec_and_test(&sd->s_count))
release_sysfs_dirent(sd);
}

Expand Down

0 comments on commit 282b518

Please sign in to comment.