aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorRob Landley <[email protected]>2013-09-11 14:26:08 -0700
committerLinus Torvalds <[email protected]>2013-09-11 15:59:37 -0700
commit4bbee76bc986af326be0a84ad661000cf89b29f6 (patch)
tree810ae2c74145a7a5f31a443141bb1cc853ba29a8 /net/lapb/lapb_iface.c
parent137fdcc18a5979b53c0a1379b25fc68724e98a45 (diff)
initmpfs: move bdi setup from init_rootfs to init_ramfs
Even though ramfs hasn't got a backing device, commit e0bf68ddec4f ("mm: bdi init hooks") added one anyway, and put the initialization in init_rootfs() since that's the first user, leaving it out of init_ramfs() to avoid duplication. But initmpfs uses init_tmpfs() instead, so move the init into the filesystem's init function, add a "once" guard to prevent duplicate initialization, and call the filesystem init from rootfs init. This goes part of the way to allowing ramfs to be built as a module. [[email protected]; using bit 1 was odd] Signed-off-by: Rob Landley <[email protected]> Cc: Jeff Layton <[email protected]> Cc: Jens Axboe <[email protected]> Cc: Stephen Warren <[email protected]> Cc: Rusty Russell <[email protected]> Cc: Jim Cromie <[email protected]> Cc: Sam Ravnborg <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: "Eric W. Biederman" <[email protected]> Cc: Alexander Viro <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions