forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork1
Commit42f15d7
committed
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>1 parent806638b commit42f15d7
1 file changed
+1
-1
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3491 | 3491 |
| |
3492 | 3492 |
| |
3493 | 3493 |
| |
3494 |
| - | |
| 3494 | + | |
3495 | 3495 |
| |
3496 | 3496 |
| |
3497 | 3497 |
| |
|
0 commit comments
Comments
(0)