diff options
author | Martin Brandenburg <martin@omnibond.com> | 2015-11-13 14:26:10 -0500 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2015-11-13 14:50:20 -0500 |
commit | 24c8d0804be00da90af9efa8eb404bd7a3284ba9 (patch) | |
tree | 378e3210e88fd70433ddf5d36af7bc1967dcdeea /fs/ubifs/misc.h | |
parent | f0ed4418d46db587eca981065ef5014332678606 (diff) | |
download | op-kernel-dev-24c8d0804be00da90af9efa8eb404bd7a3284ba9.zip op-kernel-dev-24c8d0804be00da90af9efa8eb404bd7a3284ba9.tar.gz |
Orangefs: Clean up pvfs2_devreq_read.
* Kick invalid arguments out early, so handling them does not clutter
the code.
* Avoid possibility of race by not releasing lock until completely done.
* Do not leak ops (memory) in certain error condition.
* Check for more error conditions.
* Put module name in all error and debug logs.
* Document behavior.
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/ubifs/misc.h')
0 files changed, 0 insertions, 0 deletions