mirror of
https://github.com/ceph/ceph
synced 2025-01-03 01:22:53 +00:00
*** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@41 29311d96-e01e-0410-9327-a35deaab8ce9
This commit is contained in:
parent
20d7ed2a4e
commit
45eab891bd
@ -1133,8 +1133,9 @@ void MDCache::export_dir_frozen(CInode *in,
|
||||
|
||||
CInode *containing_export = get_containing_export(nested->get_parent_inode());
|
||||
if (!containing_export) continue;
|
||||
if (nested == in) continue; // ignore myself
|
||||
|
||||
if (containing_export == in && nested != in) {
|
||||
if (containing_export == in) {
|
||||
// nested beneath our new export *in; remove!
|
||||
cout << " export " << *nested << " was nested beneath us; removing from nested_exports" << endl;
|
||||
// exports.erase(nested); _walk does this
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <sys/file.h>
|
||||
#include <iostream>
|
||||
#include <cassert>
|
||||
|
||||
char *osd_base_path = "./osddata";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user