cifs: have cifs_fattr_to_inode() refuse to change type on live inode
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 11 Feb 2021 02:23:04 +0000 (21:23 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 13 Mar 2021 03:15:20 +0000 (22:15 -0500)
commit4d66952a2032cf6b65183fc4a8d8039304c70d48
tree32ab5eedf7ae87418e9cf314dd357cf95234662d
parent3bcb39b086bf8d7c3cff013564f86162ec497d90
cifs: have cifs_fattr_to_inode() refuse to change type on live inode

... instead of trying to do that in the callers (and missing some,
at that)

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/cifs/cifsproto.h
fs/cifs/file.c
fs/cifs/inode.c
fs/cifs/readdir.c