commit | e2d044fe77f8e845333bb1bd29587dc08a4346a0 | [log] [tgz] |
---|---|---|
author | Alex Lyakas <alex.btrfs@zadarastorage.com> | Wed Oct 17 13:52:47 2012 +0000 |
committer | Chris Mason <chris.mason@fusionio.com> | Thu Oct 25 15:47:31 2012 -0400 |
tree | f0d30e2900224d39dbe4cceabe116f2d7a8305f4 | |
parent | 671415b7db49f62896f0b6d50fc4f312a0512983 [diff] |
Btrfs: Send: preserve ownership (uid and gid) also for symlinks. This patch also requires a change in the user-space part of "receive". We need to use "lchown" instead of "chown". We will do this in the following patch. Signed-off-by: Alex Lyakas <alex.btrfs@zadarastorage.com> if (S_ISREG(sctx->cur_inode_mode)) {