aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorPavel Emelyanov <[email protected]>2007-11-01 00:42:43 -0700
committerDavid S. Miller <[email protected]>2007-11-01 00:42:43 -0700
commit1dba323b3f92cf4a475236763b0373cb7d49395d (patch)
tree3f5463199c8957d3a94710d01380fc2f94d551a1 /fs/jbd2/commit.c
parent6257ff2177ff02d7f260a7a501876aa41cb9a9f6 (diff)
[NETNS]: Make the init/exit hooks checks outside the loop
When the new pernet something (subsys, device or operations) is being registered, the init callback is to be called for each namespace, that currently exitst in the system. During the unregister, the same is to be done with the exit callback. However, not every pernet something has both calls, but the check for the appropriate pointer to be not NULL is performed inside the for_each_net() loop. This is (at least) strange, so tune this. Signed-off-by: Pavel Emelyanov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions