summaryrefslogtreecommitdiffstats
path: root/fs/ncpfs/dir.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-02-29 18:12:46 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2016-02-29 18:16:43 +0100
commita528aca7f359f4b0b1d72ae406097e491a5ba9ea (patch)
tree26b95bc4e207d3bd6afc11affbfa0fe85ac53b6a /fs/ncpfs/dir.c
parentdo_last(): ELOOP failure exit should be done after leaving RCU mode (diff)
downloadlinux-a528aca7f359f4b0b1d72ae406097e491a5ba9ea.tar.xz
linux-a528aca7f359f4b0b1d72ae406097e491a5ba9ea.zip
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 '')
0 files changed, 0 insertions, 0 deletions