]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/filestore/LFNIndex: remove unused variable 'subdir_path' 8959/head
authorhuangjun <hjwsm1989@gmail.com>
Fri, 6 May 2016 01:54:28 +0000 (09:54 +0800)
committerhuangjun <hjwsm1989@gmail.com>
Fri, 6 May 2016 01:54:28 +0000 (09:54 +0800)
Signed-off-by: huangjun <hjwsm1989@gmail.com>
src/os/filestore/LFNIndex.cc

index 3b3351325437453368a05922e1859eeb6d045ce5..e0bccb19fd443a44ef35420780404d68be7fbef6 100644 (file)
@@ -720,7 +720,6 @@ int LFNIndex::lfn_get_name(const vector<string> &path,
                           string *mangled_name, string *out_path,
                           int *hardlink)
 {
-  string subdir_path = get_full_path_subdir(path);
   string full_name = lfn_generate_object_name(oid);
   int r;
 
@@ -879,8 +878,6 @@ int LFNIndex::lfn_unlink(const vector<string> &path,
       return -errno;
     return 0;
   }
-  string subdir_path = get_full_path_subdir(path);
-
 
   int i = 0;
   for ( ; ; ++i) {