aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorChristopher J. Morrone <[email protected]>2016-08-16 16:18:57 -0400
committerGreg Kroah-Hartman <[email protected]>2016-08-21 15:57:36 +0200
commitd6099af20a148d705a16da2aed25b605ba0a162c (patch)
tree48c60484e052aaed44cd1a44cec024b26fe218a1 /tools/perf/scripts/python/net_dropmonitor.py
parentc948390f10ccc7ba67dcc17c9e5b313744f554aa (diff)
staging: lustre: Remove static declaration in anonymous union
It is not permitted in C++ to have a static declaration inside of an anonymous union. The g++ compiler will complaine with an error like this: error: struct ost_id::<anonymous union>::ostid invalid; an anonymous union can only have non-static data members [-fpermissive] This patch changes the code to use an unnamed struct in place of "struct ostid" inside of the anonymous union. That name declaration was completely unnecessary anyway, since it was not used anywhere else. Signed-off-by: Christopher J. Morrone <[email protected]> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4987 Reviewed-on: http://review.whamcloud.com/10176 Reviewed-by: Robert Read <[email protected]> Reviewed-by: Andreas Dilger <[email protected]> Signed-off-by: James Simmons <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions