We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6e9d38 commit e22c387Copy full SHA for e22c387
fs/ocfs2/dlmfs/dlmfs.c
@@ -80,8 +80,7 @@ static int param_set_dlmfs_capabilities(const char *val,
80
static int param_get_dlmfs_capabilities(char *buffer,
81
const struct kernel_param *kp)
82
{
83
- return strlcpy(buffer, DLMFS_CAPABILITIES,
84
- strlen(DLMFS_CAPABILITIES) + 1);
+ return sysfs_emit(buffer, DLMFS_CAPABILITIES);
85
}
86
module_param_call(capabilities, param_set_dlmfs_capabilities,
87
param_get_dlmfs_capabilities, NULL, 0444);
0 commit comments