diff options
author | David Howells <dhowells@redhat.com> | 2020-04-08 16:13:20 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2020-05-31 15:19:51 +0100 |
commit | 38355eec6a7d2b8f2f313f9174736dc877744e59 (patch) | |
tree | c27c84a0214ef1025788181c9e4a0164dc414a78 /fs/afs/internal.h | |
parent | 8230fd8217b7ea76f838ae88e4a5a8e54f37099f (diff) |
afs: Set error flag rather than return error from file status decode
Set a flag in the call struct to indicate an unmarshalling error rather
than return and handle an error from the decoding of file statuses. This
flag is checked on a successful return from the delivery function.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/internal.h')
-rw-r--r-- | fs/afs/internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/afs/internal.h b/fs/afs/internal.h index b6665fc5d355..6d5c66dd76de 100644 --- a/fs/afs/internal.h +++ b/fs/afs/internal.h @@ -160,6 +160,7 @@ struct afs_call { bool upgrade; /* T to request service upgrade */ bool have_reply_time; /* T if have got reply_time */ bool intr; /* T if interruptible */ + bool unmarshalling_error; /* T if an unmarshalling error occurred */ u16 service_id; /* Actual service ID (after upgrade) */ unsigned int debug_id; /* Trace ID */ u32 operation_ID; /* operation ID for an incoming call */ |