Btrfs: send correct rdev and mode in btrfs-send
authorArne Jansen <sensille@gmx.net>
Mon, 15 Oct 2012 18:28:46 +0000 (18:28 +0000)
committerChris Mason <chris.mason@fusionio.com>
Thu, 25 Oct 2012 19:45:25 +0000 (15:45 -0400)
commitd79e50433b2bea09eb680ed5fae15e8a12356353
treeff4139f333be0c8ec9fb5dc97de2ff1d44748eb2
parent96b5bd777118bb673b458b41bbefc7f0f31d65c9
Btrfs: send correct rdev and mode in btrfs-send

When sending a device file, the stream was missing the mode. Also the
rdev was encoded wrongly.

Signed-off-by: Arne Jansen <sensille@gmx.net>
fs/btrfs/send.c