diff options
author | Jihoon Jung <jh8801.jung@samsung.com> | 2019-10-10 22:57:03 +0900 |
---|---|---|
committer | Jihoon Jung <jh8801.jung@samsung.com> | 2019-10-10 22:57:50 +0900 |
commit | 852ac4ce0bd026fd787068a2e89ac63755d2b66a (patch) | |
tree | 06bc9eecb8e9341d54b7a77da99b9df9e446d975 | |
parent | e80daa48c3c5be8b34387e399c849fe6c7e407e6 (diff) | |
download | mtp-responder-852ac4ce0bd026fd787068a2e89ac63755d2b66a.tar.gz mtp-responder-852ac4ce0bd026fd787068a2e89ac63755d2b66a.tar.bz2 mtp-responder-852ac4ce0bd026fd787068a2e89ac63755d2b66a.zip |
Change for reduce logstizen_5.5.m2_releasesubmit/tizen_5.5_mobile_hotfix/20201026.185103submit/tizen_5.5/20191031.000010submit/tizen/20191010.140049accepted/tizen/unified/20191015.011853accepted/tizen/5.5/unified/mobile/hotfix/20201027.084333accepted/tizen/5.5/unified/20191031.004154tizen_5.5_tvtizen_5.5_mobile_hotfixaccepted/tizen_5.5_unified_mobile_hotfix
Change-Id: Ie7796822a6fdd97680e7ac0b4efbf08e6e48c262
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
-rw-r--r-- | src/mtp_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mtp_init.c b/src/mtp_init.c index e0681e2..ff4777a 100644 --- a/src/mtp_init.c +++ b/src/mtp_init.c @@ -94,9 +94,9 @@ static void __mtp_exit(void) static gboolean __check_internal_storage(gpointer user_data) { - UTIL_LOCK_MUTEX(&g_cmd_inoti_mutex); + pthread_mutex_lock(&g_cmd_inoti_mutex); _handle_lock_status_notification(NULL, NULL); - UTIL_UNLOCK_MUTEX(&g_cmd_inoti_mutex); + pthread_mutex_unlock(&g_cmd_inoti_mutex); return true; } |