summaryrefslogtreecommitdiffstats
path: root/drivers/clk/mvebu/common.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-09-07 14:36:23 +0200
committerRichard Weinberger <richard@nod.at>2018-10-23 13:48:06 +0200
commitc4de6d7e4319ffb52d6db3138057712749540191 (patch)
tree24ece70ae4e0bd90695783a09e36a57017091fd1 /drivers/clk/mvebu/common.c
parentubi: Mark expected switch fall-throughs (diff)
downloadlinux-c4de6d7e4319ffb52d6db3138057712749540191.tar.xz
linux-c4de6d7e4319ffb52d6db3138057712749540191.zip
ubifs: Refactor create_default_filesystem()
create_default_filesystem() allocates memory for a node, writes that node and frees the memory directly afterwards. With this patch we allocate memory for all nodes at the beginning of the function and free the memory at the end. This makes it easier to implement authentication support since with authentication support we'll need the contents of some nodes when creating other nodes. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/clk/mvebu/common.c')
0 files changed, 0 insertions, 0 deletions