“62ff1d8a9e6ce654daf12b29a28d37114cd6e24e”上不存在“...2019/02/2019-02-13-outreachy-audit-log-plugin/index.html”
ceph: fix SEEK_CUR, SEEK_SET regression
Commit 06222e49 got the if wrong so that it always evaluates as true. This is semantically harmless, but makes SEEK_CUR and SEEK_SET needlessly query the server. Rewrite the if to explicitly enumerate the cases we DO need a valid i_size to make this code less fragile. Reported-by: NRoel Kluin <roel.kluin@gmail.com> Signed-off-by: NSage Weil <sage@newdream.net>
Showing
想要评论请 注册 或 登录