Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297314
b: refs/heads/master
c: 72749a2
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Boaz Harrosh committed Mar 19, 2012
1 parent 760adf0 commit bae3596
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 3e57638bb1469ba2705456e9fd4063d1890341e1
refs/heads/master: 72749a270b6d254b4a018e290b853c27edb2fa62
3 changes: 2 additions & 1 deletion trunk/fs/exofs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,8 @@ static int exofs_devs_2_odi(struct exofs_dt_device_info *dt_dev,
struct osd_dev_info *odi)
{
odi->systemid_len = le32_to_cpu(dt_dev->systemid_len);
memcpy(odi->systemid, dt_dev->systemid, odi->systemid_len);
if (likely(odi->systemid_len))
memcpy(odi->systemid, dt_dev->systemid, OSD_SYSTEMID_LEN);

odi->osdname_len = le32_to_cpu(dt_dev->osdname_len);
odi->osdname = dt_dev->osdname;
Expand Down

0 comments on commit bae3596

Please sign in to comment.