vfs_ceph: fix ntimes_fn callback
authorYan, Zheng <zyan@redhat.com>
Thu, 19 Mar 2015 01:58:45 +0000 (09:58 +0800)
committerMichael Adam <obnox@samba.org>
Thu, 19 Mar 2015 17:02:13 +0000 (18:02 +0100)
commit16956d4eb18196a7b867423b8f403312361bdf80
tree5b302964a6f12be0f7a462c223ef730fe2c3595c
parent5f01bb1b069baa81c49f620cbf6f86dc36311d01
vfs_ceph: fix ntimes_fn callback

add null timespec check for atime/mtime. Also add code that stores
create_time by EA.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: Michael Adam <obnox@samba.org>
Reviewed-by: Ira Cooper <ira@samba.org>
source3/modules/vfs_ceph.c