Btrfs: fix oops when btrfs_inherit_iflags called with a NULL dir
authorChris Mason <chris.mason@oracle.com>
Thu, 11 Jun 2009 15:13:35 +0000 (11:13 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 11 Jun 2009 15:13:35 +0000 (11:13 -0400)
commit0b4dcea579a1b6f4d249d61f5bc8adeaa7c895d8
tree2d8c0a56d853516136fcf9ff43672aca9f011057
parent067c28adc53807514ac0c6ebb6af3243cbd071fa
Btrfs: fix oops when btrfs_inherit_iflags called with a NULL dir

This happens during subvol creation.

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