diff options
| author | Josef Bacik <[email protected]> | 2010-11-19 20:36:11 +0000 |
|---|---|---|
| committer | Chris Mason <[email protected]> | 2010-11-22 03:26:10 +0000 |
| commit | a1b075d28da563c5e2325577f282c042494254ba (patch) | |
| tree | 0699a0490e11efb6fc2b1a2e99fa6419e9e568fa /tools/perf/scripts/python/sched-migration.py | |
| parent | Btrfs: hold i_mutex when calling btrfs_log_dentry_safe (diff) | |
| download | kernel-a1b075d28da563c5e2325577f282c042494254ba.tar.gz kernel-a1b075d28da563c5e2325577f282c042494254ba.zip | |
Btrfs: make btrfs_add_nondir take parent inode as an argument
Everybody who calls btrfs_add_nondir just passes in the dentry of the new file
and then dereference dentry->d_parent->d_inode, but everybody who calls
btrfs_add_nondir() are already passed the parent's inode. So instead of
dereferencing dentry->d_parent, just make btrfs_add_nondir take the dir inode as
an argument and pass that along so we don't have to worry about d_parent.
Thanks,
Signed-off-by: Josef Bacik <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
