diff options
author | Wayne Davison <wayned@samba.org> | 2014-01-19 12:24:01 -0800 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2014-01-19 12:24:01 -0800 |
commit | bba31ddf122c18ec88fe26a30c5ab9844d41ace7 (patch) | |
tree | c5610998051ba67ecb3f8796d7d8147e3a54cc9a /xattrs.c | |
parent | 31825a94b3bd531bbe6cfc1203708ecec9484364 (diff) | |
download | rsync-bba31ddf122c18ec88fe26a30c5ab9844d41ace7.tar.gz |
Avoid ACL and/or xattr lookups on IS_MISSING_FILE() entries.
Fixes bug 10381.
Diffstat (limited to 'xattrs.c')
-rw-r--r-- | xattrs.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -308,7 +308,8 @@ int get_xattr(const char *fname, stat_x *sxp) if (!preserve_devices) #endif return 0; - } + } else if (IS_MISSING_FILE(sxp->st)) + return 0; if (rsync_xal_get(fname, sxp->xattr) < 0) { free_xattr(sxp); |