From: Alex Lyakas Date: Wed, 17 Oct 2012 13:52:47 +0000 (+0000) Subject: Btrfs: Send: preserve ownership (uid and gid) also for symlinks. X-Git-Tag: v3.7-rc3~21^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2d044fe77f8e845333bb1bd29587dc08a4346a0;p=pandora-kernel.git 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 if (S_ISREG(sctx->cur_inode_mode)) { --- Reading git-diff-tree failed