Skip to content
Commit ebbe7887 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

SUNRPC: Don't return error values in sysfs read of closed files



Instead of returning an error value, which ends up being the return
value for the read() system call, it is more elegant to simply return
the error as a string value.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 421ab1be
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment