]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: make frag_info_t add_dirty() function take a pointer to touched_mtime
authorJeff Layton <jlayton@redhat.com>
Mon, 29 Aug 2016 11:16:40 +0000 (07:16 -0400)
committerJeff Layton <jlayton@redhat.com>
Mon, 29 Aug 2016 14:33:46 +0000 (10:33 -0400)
commit4d1eade0729f5935aba5f53064aa6566c3573772
tree3bfc6229871bcc2d4a774a69ab02c7eea1ad705f
parent925e0e739fcb582efa5b72a9e951565aabda0966
mds: make frag_info_t add_dirty() function take a pointer to touched_mtime

...rather than messing around with references. While we're at it, we
can also make the argument optional, which allows us to drop an unused
stack variable from CDir::split.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/mds/CDir.cc
src/mds/CInode.cc
src/mds/MDCache.cc
src/mds/mdstypes.h