diff options
author | Alexander Shishkin <virtuoso@slind.org> | 2010-10-28 06:10:03 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-10-28 06:10:03 +0200 |
commit | 776509544123c68bbc128c0fdb2f699062d294cf (patch) | |
tree | bda6c568102334dca82da268b9aa42b012a4ed69 /e2fsprogs/old_e2fsprogs/ext2fs/alloc_tables.c | |
parent | 78b286fea51ef137d660b91037c89376115a1994 (diff) | |
download | busybox-776509544123c68bbc128c0fdb2f699062d294cf.tar.gz |
mount: pass NULL, not "", as "data" to mount syscall if we have no opts
When mounting a filesystem without any additional options (data parameter
to the mount(2) syscall), pass NULL instead of an empty string like GNU
mount does. This fixes, for example mounting cgroup fs with bbox mount.
Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'e2fsprogs/old_e2fsprogs/ext2fs/alloc_tables.c')
0 files changed, 0 insertions, 0 deletions