Skip to content
Snippets Groups Projects
Commit 42f15d77 authored by Chris Mason's avatar Chris Mason
Browse files

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: default avatarChris Mason <chris.mason@oracle.com>
parent 806638bc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment