[LU-7220] Resource acquired to fd may be lost Created: 28/Sep/15 Updated: 18/Apr/16 Resolved: 18/Apr/16 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.9.0 |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Dmitry Eremin (Inactive) | Assignee: | Dmitry Eremin (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | easy, kw | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
lustre/utils/llog_reader.c in function main(): fd = open(argv[1], O_RDONLY);
if (fd < 0) {...}
is_ext = is_fstype_ext(fd);
if (is_ext < 0) {
printf("Unable to determine type of filesystem containing %s\n",
argv[1]);
goto out; <<<====
}
[...]
out_fd:
close(fd);
out:
return rc;
|
| Comments |
| Comment by Gerrit Updater [ 08/Apr/16 ] |
|
Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: http://review.whamcloud.com/19407 |
| Comment by Gerrit Updater [ 17/Apr/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/19407/ |
| Comment by Joseph Gmitter (Inactive) [ 18/Apr/16 ] |
|
The patch has landed to master for 2.9.0 |