mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
A layout can still be striped with num_fh = 1 as it is perfectly possible
that both MDS and DSs can handle the same filehandle. Hence check according
to stripe_count > 1, which is the correct check to begin with.
We should not be called with flseg->dsaddr = NULL, but if for some reason
we do, return our best guess with is flseg->num_fh > 1.
Fixes:
|
||
|---|---|---|
| .. | ||
| filelayout.c | ||
| filelayout.h | ||
| filelayoutdev.c | ||
| Makefile | ||