OSDN Git Service

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)
commitb577d0cd2104fdfcf0ded3707540a12be8ddd8b0
treef42f2a31e9210e85e5ccd5c909c7faf0d194771a
parente34d657fc56855eca8c68c0ead3ca4feac5f34dc
9p: missing chunk of "fs/9p: Don't update file type when updating file attributes"

In commit 45089142b149 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