Chris Mason 42f15d77df 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 creation
because sometimes the dir is null.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
2009-02-06 11:35:57 -05:00
..
2009-01-05 21:25:51 -05:00
2009-01-05 21:25:51 -05:00
2009-01-21 12:54:03 -05:00
2009-01-05 21:25:51 -05:00
2008-09-25 11:04:06 -04:00
2009-01-06 11:42:00 -05:00
2009-01-21 12:54:03 -05:00
2008-09-25 11:04:06 -04:00
2009-01-05 21:25:51 -05:00
2009-02-04 09:28:28 -05:00
2008-10-29 14:49:59 -04:00
2009-01-21 10:59:08 -05:00
2009-01-05 21:25:51 -05:00
2009-01-05 21:25:51 -05:00
2009-01-05 21:25:51 -05:00
2009-01-21 10:59:08 -05:00
2008-12-12 10:03:26 -05:00
2009-02-04 09:29:13 -05:00
2009-02-04 09:29:13 -05:00
2009-01-05 21:25:51 -05:00