Home
last modified time | relevance | path

Searched hist:"7 fde62bf" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/btrfs/
H A Dioctl.c7fde62bf Tue Mar 16 14:40:10 CDT 2010 Chris Mason <chris.mason@oracle.com> 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>
7fde62bf Tue Mar 16 14:40:10 CDT 2010 Chris Mason <chris.mason@oracle.com> 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>