]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw_file: fix silly abuse of flags in fh_lookup
authorMatt Benjamin <mbenjamin@redhat.com>
Wed, 13 Apr 2016 14:07:05 +0000 (10:07 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Wed, 13 Apr 2016 14:14:41 +0000 (10:14 -0400)
commitb6297a704b62e5477c3539197a5af7da637f0cb7
tree3ccef7a9cfae31c126eead5b49002aeeefcde6ea
parentfb924f2382ed8a73afd69ab89ec218b9cc22d4e4
rgw_file: fix silly abuse of flags in fh_lookup

Initially lookup_fh used its cflags argument just to proxy create
flags to new objects.  It's used for call path state now too, so
disambiguate it, and of course, fh->flags can't be consulted for
a call path state.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_file.h