aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorJon Povey <[email protected]>2010-09-30 20:41:34 +0900
committerDavid Woodhouse <[email protected]>2010-10-25 01:33:37 +0100
commitcdcf12b211d45bd68acae9d8189275d29d500d12 (patch)
treec5c6f7f3b7324d292144ea0b02ffdbded117f0a7 /net/unix/sysctl_net_unix.c
parent04aadf36de625647c72ec24c7e901896dd2a99e6 (diff)
mtd: nand: fix MTD_MODE_RAW writes
RAW writes were broken by 782ce79a45b3b850b108896fcf7da26754061c8f which introduced a check of ops->ooboffs in nand_do_write_ops(). When writing in RAW mode this is called with an ops struct on the stack of mtdchar.c:mtd_write() which does not initialise ops->ooboffs, so it is garbage and fails this test. This test does not make sense if ops->oobbuf is NULL, which it is in the RAW write path, so include that in the test. Signed-off-by: Jon Povey <[email protected]> Signed-off-by: Artem Bityutskiy <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions