]> bbs.cooldavid.org Git - net-next-2.6.git/commit
bridge: fix build for CONFIG_SYSFS disabled
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 18 May 2010 19:26:27 +0000 (12:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 May 2010 19:26:27 +0000 (12:26 -0700)
commitb3bcb72edb29c52fb0a065d5b1c7cf40ed9287f4
tree4320495c0712e00230391404585a7cb26ba21985
parente7971c80a8e0299f91272ad8e8ac4167623e1862
bridge: fix build for CONFIG_SYSFS disabled

Fix build when CONFIG_SYSFS is not enabled:
net/bridge/br_if.c:136: error: 'struct net_bridge_port' has no member named 'sysfs_name'

Note: dev->name == sysfs_name except when change name is in
progress, and we are protected from that by RTNL mutex.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_if.c