aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorPatrick McHardy <[email protected]>2007-11-07 01:31:32 -0800
committerDavid S. Miller <[email protected]>2007-11-07 04:15:02 -0800
commitfffe470a803e7f7b74c016291e542a0162761209 (patch)
tree8af6b1ed01c4a98bcd6fae935f04d93c07ed7a90 /fs/jbd2/commit.c
parent45a19b0a725a04f3255d9d3da1fca30bb97f1481 (diff)
[VLAN]: Fix SET_VLAN_INGRESS_PRIORITY_CMD ioctl
Based on report and patch by Doug Kehn <[email protected]>: vconfig returns the following error when attempting to execute the set_ingress_map command: vconfig: socket or ioctl error for set_ingress_map: Operation not permitted In vlan.c, vlan_ioctl_handler for SET_VLAN_INGRESS_PRIORITY_CMD sets err = -EPERM and calls vlan_dev_set_ingress_priority. vlan_dev_set_ingress_priority is a void function so err remains at -EPERM and results in the vconfig error (even though the ingress map was set). Fix by setting err = 0 after the vlan_dev_set_ingress_priority call. Signed-off-by: Patrick McHardy <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions