summaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-08-25 03:30:45 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-08-25 03:30:45 +0200
commitb89b8e504e89d8d3cbad36d6d1abea2b7c285c22 (patch)
treee5370d7eafc4420cbfe08bb2b9a96a16bf97262c /fs/jbd2/commit.c
parent4bc7ded8cb7e7e77c28a2b476ca1f3e0391b646b (diff)
downloadkernel-crypto-b89b8e504e89d8d3cbad36d6d1abea2b7c285c22.tar.gz
kernel-crypto-b89b8e504e89d8d3cbad36d6d1abea2b7c285c22.tar.xz
kernel-crypto-b89b8e504e89d8d3cbad36d6d1abea2b7c285c22.zip
Unpublish session ID at start of ncr_session_final.
This means that ncr_session_final() can't be called on one ID twice, ensuring that the ID is still unique throughout the runtime of ncr_session_final(). (Note that this is not guaranteed for ncr_session_update(): a concurrent thread can call ncr_session_final() on the ID and reuse it before ncr_session_update() finishes.)
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions