aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2021-08-25 21:54:18 +0200
committerAndreas Gruenbacher <agruenba@redhat.com>2021-10-20 19:33:09 +0200
commit1b223f7065bc7d89c4677c27381817cc95b117a8 (patch)
treefc7e357953f9c22dd8235a85b061c3e8107975ff /tools/perf/util/c++/clang.cpp
parentb924bdab7445946e2ed364a0e6e249d36f1f1158 (diff)
gfs2: Eliminate ip->i_gh
Now that gfs2_file_buffered_write is the only remaining user of ip->i_gh, we can move the glock holder to the stack (or rather, use the one we already have on the stack); there is no need for keeping the holder in the inode anymore. This is slightly complicated by the fact that we're using ip->i_gh for the statfs inode in gfs2_file_buffered_write as well. Writing to the statfs inode isn't very common, so allocate the statfs holder dynamically when needed. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions