Rev 2549 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2549 | Rev 2552 | ||
---|---|---|---|
Line 70... | Line 70... | ||
70 | return EINVAL; |
70 | return EINVAL; |
71 | 71 | ||
72 | if (altroot) |
72 | if (altroot) |
73 | root = altroot; |
73 | root = altroot; |
74 | else |
74 | else |
75 | root = rootfs; |
75 | root = &rootfs; |
76 | 76 | ||
77 | if (!root) |
77 | if (!root->fs_handle) |
78 | return ENOENT; |
78 | return ENOENT; |
79 | 79 | ||
80 | futex_down(&plb_futex); |
80 | futex_down(&plb_futex); |
81 | 81 | ||
82 | plb_entry_t entry; |
82 | plb_entry_t entry; |