diff options
author | Chris Mason <chris.mason@oracle.com> | 2009-02-06 11:35:57 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-02-06 11:35:57 -0500 |
commit | 42f15d77df8a7e8a2feb15041d5d30710ee7f951 (patch) | |
tree | 5b6a3cdaab135c41848952874a6fab086b8b9f72 /fs/btrfs/ctree.c | |
parent | 806638bce99f51deccbfedbe86ab3c5cf55a1d35 (diff) | |
download | linux-42f15d77df8a7e8a2feb15041d5d30710ee7f951.tar.bz2 |
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>
Diffstat (limited to 'fs/btrfs/ctree.c')
0 files changed, 0 insertions, 0 deletions