| commit | 7fde62bffb576d384ea49a3aed3403d5609ee5bc | [log] [tgz] |
|---|---|---|
| author | Chris Mason <chris.mason@oracle.com> | Tue Mar 16 15:40:10 2010 -0400 |
| committer | Chris Mason <chris.mason@oracle.com> | Tue Mar 16 15:40:10 2010 -0400 |
| tree | 0fc0be615e657ed385835b56741c3a62c2c76fff | |
| parent | ce769a2904bf5a9110ef534a7702397e38e2b3e9 [diff] |
Btrfs: buffer results in the space_info ioctl The space_info ioctl was using copy_to_user inside rcu_read_lock. This commit changes things to copy into a buffer first and then dump the result down to userland. Signed-off-by: Chris Mason <chris.mason@oracle.com>