client: Don't use geteuid/gid for fuse ll_create

Fixes a bug in ll_create where files that already exist at the MDS
don't get the created flag set on reply.  This causes a permissions
check, which fails because geteuid/getegid are 0/0 for ll_create.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
mds: Send created ino in journaled_reply

The MDS avoids sending an early reply if a request
triggered inode allocation (no preallocated inodes yet).
For create, this prevented the created ino from being
sent back to the client, which is used to indicate
creation (as apposed to already existing) of the file.
This commit fixes the issue by adding the created ino
to the journaled (safe) reply.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
Merge remote-tracking branch 'origin/wip-fuse-create-fix'

Reviewed-by: Greg Farnum <greg@inktank.com>
Merge git://github.com/ceph/ceph