diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2008-07-07 10:02:36 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2008-07-07 10:02:36 +0100 |
commit | 265d529cef6fd57698d79b3c0edd3a8178059ea6 (patch) | |
tree | d92cc42c3f9db89bdce635a78f9d8d1904dde43a /fs/ecryptfs | |
parent | f58ba889106af60f52af792efbe1973e458a2138 (diff) | |
download | linux-265d529cef6fd57698d79b3c0edd3a8178059ea6.tar.gz linux-265d529cef6fd57698d79b3c0edd3a8178059ea6.tar.bz2 linux-265d529cef6fd57698d79b3c0edd3a8178059ea6.zip |
[GFS2] Fix delayed demote race
There is a race in the delayed demote code where it does the wrong thing
if a demotion to UN has occurred for other reasons before the delay has
expired. This patch adds an assert to catch that condition as well as
fixing the root cause by adding an additional check for the UN state.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Cc: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/ecryptfs')
0 files changed, 0 insertions, 0 deletions