diff options
author | Raghavendra G <raghavendra@zresearch.com> | 2009-06-04 06:14:31 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-06-11 06:29:17 -0700 |
commit | 100a64f457a901bffe6d2d6d3b258fa193cb8517 (patch) | |
tree | 2fe69f87d7dab6ce44e8449cd967239fe89408d8 /libglusterfsclient | |
parent | bf76a04af4862554d6163c43a863afb59a39aafe (diff) |
read-ahead: return with error code EBADF for fops on fds without file set in their context.
- since a successful open/create will _always_ set a pointer to ra_file_t in
context of fd, this fix makes sense.
- an example of operations on bad fd can be afr sending read on the child
which was down during open.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'libglusterfsclient')
0 files changed, 0 insertions, 0 deletions