summaryrefslogtreecommitdiffhomepage
path: root/init/mesg.c
diff options
context:
space:
mode:
authorAlexander Shishkin <virtuoso@slind.org>2010-10-28 06:10:03 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-10-28 06:10:03 +0200
commit776509544123c68bbc128c0fdb2f699062d294cf (patch)
treebda6c568102334dca82da268b9aa42b012a4ed69 /init/mesg.c
parent78b286fea51ef137d660b91037c89376115a1994 (diff)
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 'init/mesg.c')
0 files changed, 0 insertions, 0 deletions