Unverified Commit 4dd5b5ac authored by Andrey Albershteyn's avatar Andrey Albershteyn Committed by Christian Brauner
Browse files

Revert "fs: make vfs_fileattr_[get|set] return -EOPNOTSUPP"

This reverts commit 474b155a.

This patch caused regression in ioctl_setflags(). Underlying filesystems
use EOPNOTSUPP to indicate that flag is not supported. This error is
also gets converted in ioctl_setflags(). Therefore, for unsupported
flags error changed from EOPNOSUPP to ENOIOCTLCMD.

Link: https://lore.kernel.org/linux-xfs/a622643f-1585-40b0-9441-cf7ece176e83@kernel.org/


Signed-off-by: default avatarAndrey Albershteyn <aalbersh@kernel.org>
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent a779e27f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment