You've already forked linux-apfs-rw
mirror of
https://github.com/linux-apfs/linux-apfs-rw.git
synced 2026-05-01 15:01:34 -07:00
dc1ed2cfe7
It seems that the license identifier currently in use (GPL-2.0) has been deprecated: https://spdx.org/licenses/GPL-2.0.html I don't know how important this is in practice, but I've received some complaints about it: https://github.com/linux-apfs/linux-apfs-rw/issues/18 So, just run sed -i 's/2\.0/2.0-only/' *.{c,h} sed -i 's/2\.0/2.0-only/' Makefile and change it to GPL-2.0-only. Signed-off-by: Ernesto A. Fernández <ernesto@corellium.com>
23 lines
419 B
C
23 lines
419 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* Copyright (C) 2018 Ernesto A. Fernández <ernesto.mnd.fernandez@gmail.com>
|
|
*/
|
|
|
|
#include <linux/fs.h>
|
|
#include "apfs.h"
|
|
|
|
void apfs_msg(struct super_block *sb, const char *prefix, const char *fmt, ...)
|
|
{
|
|
struct va_format vaf;
|
|
va_list args;
|
|
|
|
va_start(args, fmt);
|
|
|
|
vaf.fmt = fmt;
|
|
vaf.va = &args;
|
|
|
|
printk("%sAPFS (%s): %pV\n", prefix, sb->s_id, &vaf);
|
|
|
|
va_end(args);
|
|
}
|