Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
davfs2.23454
Always-update-cached-file-on-dav_lookup.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Always-update-cached-file-on-dav_lookup.patch of Package davfs2.23454
From 1488e13130d3e3261d50f3c24f67a77779ffa86c Mon Sep 17 00:00:00 2001 From: Ali Abdallah <aabdallah@suse.de> Date: Wed, 27 Oct 2021 13:40:51 +0200 Subject: [PATCH] Always update cached file on dav_lookup --- src/cache.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/cache.c b/src/cache.c index f9e4e4e..0783a00 100644 --- a/src/cache.c +++ b/src/cache.c @@ -1033,8 +1033,10 @@ dav_lookup(dav_node **nodep, dav_node *parent, const char *name, uid_t uid) if (is_dir(*nodep)) { if (!(*nodep)->utime) update_directory(*nodep, retry); - } else if (is_open(*nodep)) { - attr_from_cache_file(*nodep); + } else { + update_cache_file(*nodep); + if (is_open(*nodep)) + attr_from_cache_file(*nodep); } return 0; -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor