diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c index 8f1d3d6e7087a94d0a88e89d62238f143dc32e75..43430e6c99aa1d52dafcf526ab0c46655f37f78d 100644 --- a/fs/btrfs/send.c +++ b/fs/btrfs/send.c @@ -2640,7 +2640,7 @@ static int send_create_inode(struct send_ctx *sctx, u64 ino) } else { btrfs_warn(sctx->send_root->fs_info, "unexpected inode type %o", (int)(mode & S_IFMT)); - ret = -ENOTSUPP; + ret = -EOPNOTSUPP; goto out; }