On 10/12/2012 04:42 PM, Eric Sandeen wrote:
Restoring a dump w/ the top 16 bits of a 32-bit project ID
set will fail to restore the full ID unless the projid32 feature
flag is set on the filesystem.
So if the target fs is xfs, fail the restore if we have a version
4 dump (only used currently if dumped from a projid32 fs) and
the target xfs filesystem does not have that feature set.
Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>
---
p.s. i'd rather go by whether the contents of the dump have any
16 bit project ids than by the feature flag, but I don't see
a way to do that.
diff --git a/restore/content.c b/restore/content.c
Looks good Eric.
Reviewed-by: Rich Johnston <rjohnston@xxxxxxx>
_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs