On Tue, Aug 22, 2017 at 11:46:00PM -0700, Omar Sandoval wrote: > From: Omar Sandoval <osan...@fb.com> > > fs_info->super_copy->{node,sector}size are little-endian, but the ioctl > should return the values in native endianness. Use the cached values in > btrfs_fs_info instead. Found with sparse. > > Fixes: 80a773fbfc2d ("btrfs: retrieve more info from FS_INFO ioctl") > Signed-off-by: Omar Sandoval <osan...@fb.com>
Reviewed-by: David Sterba <dste...@suse.com> -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html