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:16 -0700 |
commit | b930b38a2ab16b3d25b4bf2441e584f7fc882a17 (patch) | |
tree | d15389d5f238bfde4e01da88d3e8ac3352da1b2f /xlators/protocol/Makefile.am | |
parent | 3f4362cedee499beb6a872b3dbb3ac920aa51d21 (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 'xlators/protocol/Makefile.am')
0 files changed, 0 insertions, 0 deletions