]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: allow treeid==0 in the inode lookup ioctl
authorChris Mason <chris.mason@oracle.com>
Thu, 18 Mar 2010 16:17:05 +0000 (12:17 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 18 Mar 2010 16:17:05 +0000 (12:17 -0400)
commit79ede434c06b60454155780d930d40c917a04e4d
tree4ba3bf8dc5159d4b382b1e44306eef1875203c6a
parentcb126c746cc728c3819544f1f647013a3107b62a
Btrfs: allow treeid==0 in the inode lookup ioctl

When a root id of 0 is sent to the inode lookup ioctl, it will
use the root of the file we're ioctling and pass the root id
back to userland along with the results.

This allows userland to do searches based on that root later on.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ioctl.c