Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23101
b: refs/heads/master
c: a780143
h: refs/heads/master
i:
  23099: e2ab5ab
v: v3
  • Loading branch information
Nathan Scott committed Mar 14, 2006
1 parent 9462228 commit 6f0c441
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 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: e8234a6871aa0de1ed0aeeecb5230ecf3ab414e2
refs/heads/master: a780143ea53d26362b7cfb6666c8d04fb989bb7a
15 changes: 7 additions & 8 deletions trunk/fs/xfs/support/uuid.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,6 @@ static mutex_t uuid_monitor;
static int uuid_table_size;
static uuid_t *uuid_table;

void
uuid_init(void)
{
mutex_init(&uuid_monitor);
}


/* IRIX interpretation of an uuid_t */
typedef struct {
__be32 uu_timelow;
Expand All @@ -50,7 +43,7 @@ uuid_getnodeuniq(uuid_t *uuid, int fsid [2])

fsid[0] = (be16_to_cpu(uup->uu_clockseq) << 16) |
be16_to_cpu(uup->uu_timemid);
fsid[1] = be16_to_cpu(uup->uu_timelow);
fsid[1] = be32_to_cpu(uup->uu_timelow);
}

void
Expand Down Expand Up @@ -139,3 +132,9 @@ uuid_table_remove(uuid_t *uuid)
ASSERT(i < uuid_table_size);
mutex_unlock(&uuid_monitor);
}

void
uuid_init(void)
{
mutex_init(&uuid_monitor);
}

0 comments on commit 6f0c441

Please sign in to comment.