]> git.baikalelectronics.ru Git - kernel.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)
commita4fe1b74b21f197355c4c71390141f986da5640b
tree14638ccec5d20787c569fb098d02c0dee1071e42
parent05dc24c18be1e1aad12d4e785b50acbe1fed8399
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