]> git.baikalelectronics.ru Git - kernel.git/commit
9p: missing chunk of "fs/9p: Don't update file type when updating file attributes"
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 31 Jan 2021 19:37:39 +0000 (14:37 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 13 Mar 2021 03:15:22 +0000 (22:15 -0500)
commitb24b82817ad29f88c517dc45f693db4196d548d1
treef42f2a31e9210e85e5ccd5c909c7faf0d194771a
parentb6e7416f715230a6c28ffaa369b37544500017f2
9p: missing chunk of "fs/9p: Don't update file type when updating file attributes"

In commit 04e635c8de23 Aneesh had missed one (admittedly, very unlikely
to hit) case in v9fs_stat2inode_dotl().  However, the same considerations
apply there as well - we have no business whatsoever to change ->i_rdev
or the file type.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/9p/vfs_inode_dotl.c