mirror of
https://github.com/ceph/ceph
synced 2025-02-21 01:47:25 +00:00
os/kstore: no magic len=0 to fiemap
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
d794be4a53
commit
3c4eddb5d9
@ -1602,9 +1602,6 @@ int KStore::fiemap(
|
||||
return -ENOENT;
|
||||
}
|
||||
|
||||
if (offset == len && offset == 0)
|
||||
len = o->onode.size;
|
||||
|
||||
if (offset > o->onode.size)
|
||||
goto out;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user