core: Use parent for condition to create dentry not name
core: Use parent for condition to create dentry not name

Signed-off-by: Shehjar Tikoo <shehjart@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>

BUG: 348 (touch on booster segfaults)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=348

Kaushikbv/Gluster,Kaushikbv/Gluster,Kaushikbv/Gluster