Btrfs: Make sure dir is non-null before doing S_ISGID checks
The S_ISGID check in btrfs_new_inode caused an oops during subvol creationbecause sometimes the dir is null.Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason 17 years ago 42f15d77 806638bc