From: Li Zefan Date: Fri, 19 Nov 2010 02:05:24 +0000 (+0000) Subject: btrfs: Show device attr correctly for symlinks X-Git-Tag: v2.6.37-rc4~6^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f209561ad83c5ffd561dc4bc3a3c90b704fe9231;p=pandora-kernel.git btrfs: Show device attr correctly for symlinks Symlinks and files of other types show different device numbers, though they are on the same partition: $ touch tmp; ln -s tmp tmp2; stat tmp tmp2 File: `tmp' Size: 0 Blocks: 0 IO Block: 4096 regular empty file Device: 15h/21d Inode: 984027 Links: 1 --- snip --- File: `tmp2' -> `tmp' Size: 3 Blocks: 0 IO Block: 4096 symbolic link Device: 13h/19d Inode: 984028 Links: 1 Reported-by: Toke Høiland-Jørgensen Signed-off-by: Li Zefan Signed-off-by: Chris Mason --- Reading git-diff-tree failed