Commit Diff
- Commit:
46e4e74b0a512a6d37edcb8c711bc972f0adc908
- From:
- Omar Polo <op@omarpolo.com>
- Date:
- Message:
- kamid: change fid fname size to NAME_MAX the fname field is just the file name, so NAME_MAX is more appropriate. Committing this separately from the rename change so it's easier to roll back eventually.
- Actions:
- Patch | Tree
--- kamid/client.c +++ kamid/client.c @@ -70,7 +70,7 @@ STAILQ_HEAD(fidhead, fid) fids; struct fid { uint32_t fid; - char fname[PATH_MAX]; + char fname[NAME_MAX]; /* * the flags passed to open(2). O_CLOEXEC means ORCLOSE, that