commit | a528aca7f359f4b0b1d72ae406097e491a5ba9ea | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Mon Feb 29 12:12:46 2016 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Feb 29 12:16:43 2016 -0500 |
tree | 26b95bc4e207d3bd6afc11affbfa0fe85ac53b6a | |
parent | 5129fa482b16615fd4464d2f5d23acb1b7056c66 [diff] |
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: Al Viro <viro@zeniv.linux.org.uk>