diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-09 17:58:49 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-14 00:17:28 -0400 |
commit | 27f203f655a2e1dab66598a5b19afb637c587f0b (patch) | |
tree | a022bd5f91af856da9cd9e31329850bcc0163873 /tools/thermal | |
parent | 34d0d19dc0929ccc326448737f05a8fae3d47b8a (diff) | |
download | linux-27f203f655a2e1dab66598a5b19afb637c587f0b.tar.gz linux-27f203f655a2e1dab66598a5b19afb637c587f0b.tar.bz2 linux-27f203f655a2e1dab66598a5b19afb637c587f0b.zip |
untangle fsnotify_d_instantiate() a bit
First of all, don't bother calling it if inode is NULL -
that makes inode argument unused. Moreover, do it *before*
dropping ->d_lock, not right after that (and don't bother
grabbing ->d_lock in it, of course).
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/thermal')
0 files changed, 0 insertions, 0 deletions