From: Sage Weil Date: Tue, 28 Apr 2015 23:17:03 +0000 (-0700) Subject: os/fs: fix open_handle when name_to_handle not present X-Git-Tag: v9.1.0~324^2~13 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4b9523f7e1ee4a6c3112d0bb2e7bf66b76cadbe2;p=ceph.git os/fs: fix open_handle when name_to_handle not present Signed-off-by: Sage Weil --- diff --git a/src/os/fs/FS.cc b/src/os/fs/FS.cc index 03c9a11835e0..c7412d657040 100644 --- a/src/os/fs/FS.cc +++ b/src/os/fs/FS.cc @@ -95,7 +95,7 @@ int FS::get_handle(int fd, std::string *h) return -EOPNOTSUPP; } -int FS::open_handle(int mount_fd, const std::string& h) +int FS::open_handle(int mount_fd, const std::string& h, int flags) { return -EOPNOTSUPP; }