]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: fix leaked Dir on rename
authorSage Weil <sage.weil@dreamhost.com>
Wed, 7 Sep 2011 23:50:29 +0000 (16:50 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Wed, 7 Sep 2011 23:54:15 +0000 (16:54 -0700)
commitfc587d6caa2376f95fe15567bd632a2d4b8bb81f
treebf66b9d0b4f9ad1ed80dcd549e436bf72375339a
parent7077e6795c553521a23264bc5eec9fa982c553bd
client: fix leaked Dir on rename

Need to close old_dentry->dir if the dir is empty.  This was introduced by
ed7ebf35b124a236b88a478c33db82f015a8d4a4.

Fixes: #1509
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/client/Client.cc