You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
This commit is contained in:
@@ -57,7 +57,7 @@ int kobject_action_type(const char *buf, size_t count,
|
||||
enum kobject_action action;
|
||||
int ret = -EINVAL;
|
||||
|
||||
if (count && buf[count-1] == '\n')
|
||||
if (count && (buf[count-1] == '\n' || buf[count-1] == '\0'))
|
||||
count--;
|
||||
|
||||
if (!count)
|
||||
|
||||
Reference in New Issue
Block a user