]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw_file: fix spurious mount entries w/Linux NFS client
authorMatt Benjamin <mbenjamin@redhat.com>
Wed, 9 Nov 2016 19:24:15 +0000 (14:24 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Wed, 9 Nov 2016 19:28:36 +0000 (14:28 -0500)
commitd929ba0c5b8671150ebe1ab9057836b0fa6dadea
treed5146893535d9a4dd62c84dbf6da77475c3c56a7
parente1622bc18a63cb603d949ac3a47d45e2628b04ba
rgw_file: fix spurious mount entries w/Linux NFS client

This change fixes the initialization of root file handles to have
their correct fs instance.  Previously, the root file handle had
fs_inst-1.  The apparent change in fsid in a subordinate directory
triggers the client's behavior for new filesystem mounts, which
we don't want.

Fixes: http://tracker.ceph.com/issues/17850
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_file.h