Skip to content
Commit a528aca7 authored by Al Viro's avatar Al Viro
Browse files

use ->d_seq to get coherency between ->d_inode and ->d_flags



Games with ordering and barriers are way too brittle.  Just
bump ->d_seq before and after updating ->d_inode and ->d_flags
type bits, so that verifying ->d_seq would guarantee they are
coherent.

Cc: stable@vger.kernel.org # v3.13+
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 5129fa48
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment