]> git.baikalelectronics.ru Git - kernel.git/commit
bql: Fix inconsistency between file mode and attr method.
authorHiroaki SHIMODA <shimoda.hiroaki@gmail.com>
Sat, 14 Jan 2012 07:10:21 +0000 (07:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jan 2012 15:05:55 +0000 (10:05 -0500)
commit4b7e2357312103122e62334ec86b3cecb06459cc
treef6333348915e8b10b5f97734599cd090a1d520d4
parent2731a301f4fb117b85e532e0b43de4b7ce6feb84
bql: Fix inconsistency between file mode and attr method.

There is no store() method for inflight attribute in the
tx-<n>/byte_queue_limits sysfs directory.
So remove S_IWUSR bit.

Signed-off-by: Hiroaki SHIMODA <shimoda.hiroaki@gmail.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net-sysfs.c