diff options
author | Chris Mason <chris.mason@oracle.com> | 2009-02-06 17:35:57 +0100 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-02-06 17:35:57 +0100 |
commit | 42f15d77df8a7e8a2feb15041d5d30710ee7f951 (patch) | |
tree | 5b6a3cdaab135c41848952874a6fab086b8b9f72 /fs/btrfs/locking.h | |
parent | Btrfs: Fix memory leak in cache_drop_leaf_ref (diff) | |
download | linux-42f15d77df8a7e8a2feb15041d5d30710ee7f951.tar.xz linux-42f15d77df8a7e8a2feb15041d5d30710ee7f951.zip |
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/locking.h')
0 files changed, 0 insertions, 0 deletions