diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-02-29 20:12:46 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-02-29 20:16:43 +0300 |
commit | a528aca7f359f4b0b1d72ae406097e491a5ba9ea (patch) | |
tree | 26b95bc4e207d3bd6afc11affbfa0fe85ac53b6a /fs/stat.c | |
parent | 5129fa482b16615fd4464d2f5d23acb1b7056c66 (diff) | |
download | linux-a528aca7f359f4b0b1d72ae406097e491a5ba9ea.tar.xz |
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>
Diffstat (limited to 'fs/stat.c')
0 files changed, 0 insertions, 0 deletions