]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Btrfs: send: fix error number for unknown inode types
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>
Fri, 22 Jan 2016 00:13:25 +0000 (09:13 +0900)
committerDavid Sterba <dsterba@suse.com>
Tue, 26 Sep 2017 12:52:06 +0000 (14:52 +0200)
commitca6842bf01dc1ad41195eac1e343b4f08c496ba8
tree14638ccec5d20787c569fb098d02c0dee1071e42
parentbb166d7207432d3c7d10c45dc052f12ba3a2121d
Btrfs: send: fix error number for unknown inode types

ENOTSUPP should not be returned to the user program.
 (cf. include/linux/errno.h)
Therefore, EOPNOTSUPP is used instead of ENOTSUPP.

Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/send.c