Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288820
b: refs/heads/master
c: cafa6b5
h: refs/heads/master
v: v3
  • Loading branch information
Eric W. Biederman authored and Greg Kroah-Hartman committed Jan 24, 2012
1 parent 9efb28b commit ca9be83
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: 15a3382451e51925facfe430deeca63d90137f5d
refs/heads/master: cafa6b5dd7ce4f0e0a30be301be4efed587a7808
4 changes: 2 additions & 2 deletions trunk/fs/sysfs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ static void sysfs_deactivate(struct sysfs_dirent *sd)
rwsem_release(&sd->dep_map, 1, _RET_IP_);
}

static int sysfs_alloc_ino(ino_t *pino)
static int sysfs_alloc_ino(unsigned int *pino)
{
int ino, rc;

Expand All @@ -243,7 +243,7 @@ static int sysfs_alloc_ino(ino_t *pino)
return rc;
}

static void sysfs_free_ino(ino_t ino)
static void sysfs_free_ino(unsigned int ino)
{
spin_lock(&sysfs_ino_lock);
ida_remove(&sysfs_ino_ida, ino);
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/sysfs/sysfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ struct sysfs_dirent {

unsigned short s_flags;
umode_t s_mode;
ino_t s_ino;
unsigned int s_ino;
struct sysfs_inode_attrs *s_iattr;
};

Expand Down

0 comments on commit ca9be83

Please sign in to comment.