]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: do string equality comparison
authorPatrick Donnelly <pdonnell@redhat.com>
Sat, 7 Mar 2020 03:09:50 +0000 (19:09 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 24 Jun 2020 22:43:31 +0000 (15:43 -0700)
commit21872bdb118c5eef4c2cfdadcc62737bb9471022
treee73272eeb6a4fb69b37cebd34ebeee1c0b2d371c
parentced15ed7ef70ff832d4bebedecb89944276b0395
mds: do string equality comparison

The string::find method would return true for ceph.dir.pin even for the
other ephemeral pin xattr names. For this reason, it was never possible
to actually turn ephemeral pins on!

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mds/Server.cc