[LU-3016] The errno for symlink() on Lustre is different from it on ext3 or NFS Created: 22/Mar/13 Updated: 08/Apr/13 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.4.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Hideki Mizuno | Assignee: | WC Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | mq313 | ||
| Severity: | 3 |
| Rank (Obsolete): | 7337 |
| Description |
|
I'm a developer of Fujitsu customized Lustre, named FEFS. I found a problem in Lustre-2.3.x. #include <stdio.h> #include <unistd.h> #include <string.h> #include <errno.h> int main (){ int ret; mkdir("test-symlink.tdir", 0700); ret = symlink("nowhere", "test-symlink.tdir/"); fprintf(stderr, "ret=%d, errno=%d, errstr=%s\n", ret, errno, strerror(errno)); return 0; } I found, if the patch of Bug 18534 like below was backed out, the problem would be fixed. However, I'm not sure that backing out the patch of Bug 18534 doesn't matter. |