[LU-1351] lfs path2fid and llapi_path2fid() fail for block or character special files Created: 27/Apr/12 Updated: 12/May/12 Resolved: 12/May/12 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.2.0, Lustre 2.3.0 |
| Fix Version/s: | Lustre 2.3.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | John Hammond | Assignee: | Yang Sheng |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
|
||
| Severity: | 3 |
| Rank (Obsolete): | 4628 |
| Description |
|
llapi_path2fid() compares errno to EINVAL rather than ENOTTY to test for failures due the file being block or character special.
|
| Comments |
| Comment by John Hammond [ 27/Apr/12 ] |
|
See http://review.whamcloud.com/#change,2606 for the patch. |
| Comment by Peter Jones [ 30/Apr/12 ] |
|
Yangsheng Could you please handle the remaining inspection for this contributed patch? Thanks Peter |
| Comment by Yang Sheng [ 12/May/12 ] |
|
Patch landed. Close bug. |