[PATCH] btrfs-progs: Make btrfs_header_fsid() return unsigned long

2013-09-24 Thread Ross Kirk
Internally, btrfs_header_fsid() calculates an unsigned long, but casts it to a pointer, while all callers cast it to unsigned long again. Committed to btrfs as fba6aa75654394fccf2530041e9451414c28084f Signed-off-by: Ross Kirk ross.k...@gmail.com --- cmds-chunk.c |6 ++ ctree.c |

Re: [PATCH] btrfs-progs: Make btrfs_header_fsid() return unsigned long

2013-09-24 Thread Eric Sandeen
On 9/24/13 8:02 AM, Ross Kirk wrote: Internally, btrfs_header_fsid() calculates an unsigned long, but casts it to a pointer, while all callers cast it to unsigned long again. Thanks for doing this; my only nitpick is to keep the lines under 80 cols. Committed to btrfs as