summaryrefslogtreecommitdiff
path: root/fs/nls/nls_cp864.c
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2014-12-23 15:30:54 +0800
committerIlya Dryomov <idryomov@gmail.com>2015-02-19 13:31:38 +0300
commit982d6011bc30a26e8a3d546e0e7fc7db2c255d85 (patch)
tree3d1ee68f03edac2d64b7683baf15821cf14bdef7 /fs/nls/nls_cp864.c
parent1487a688d8ea596e6710b0d256300ab10ce99284 (diff)
ceph: improve reference tracking for snaprealm
When snaprealm is created, its initial reference count is zero. But in some rare cases, the newly created snaprealm is not referenced by anyone. This causes snaprealm with zero reference count not freed. The fix is set reference count of newly snaprealm to 1. The reference is return the function who requests to create the snaprealm. When the function finishes its job, it releases the reference. Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'fs/nls/nls_cp864.c')
0 files changed, 0 insertions, 0 deletions