Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\super.c Create Date:2022-07-28 20:02:30
Last Modify:2022-05-24 06:42:17 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Setup private BDI for given superblock. It gets automatically cleaned up* in generic_shutdown_super().

Proto:int super_setup_bdi_name(struct super_block *sb, char *fmt, ...)

Type:int

Parameter:

TypeParameterName
struct super_block *sb
char *fmt
1601  bdi = bdi_alloc(GFP_KERNEL)
1602  If Not bdi Then Return -ENOMEM
1605  name = name
1607  va_start(args, fmt)
1608  err = bdi_register_va(bdi, fmt, args)
1609  va_end(args)
1610  If err Then
1611  bdi_put(bdi)
1612  Return err
1614  WARN_ON(s_bdi != & noop_backing_dev_info)
1615  s_bdi = bdi
1617  Return 0
Caller
NameDescribe
super_setup_bdiSetup private BDI for given superblock. I gets automatically cleaned up* in generic_shutdown_super().