]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/chardev.h
Merge pull request #196 from Conan-Kudo/spec-libexecdir
[bcachefs-tools-debian] / libbcachefs / chardev.h
index c3057b07523c7e9bb5c9eb26a33c22c877b626a0..0f563ca53c36e7f6724c2697a81efa3e85ab6d0e 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef _BCACHEFS_CHARDEV_H
 #define _BCACHEFS_CHARDEV_H
 
@@ -16,7 +17,7 @@ int __init bch2_chardev_init(void);
 static inline long bch2_fs_ioctl(struct bch_fs *c,
                                unsigned cmd, void __user * arg)
 {
-       return -ENOSYS;
+       return -ENOTTY;
 }
 
 static inline void bch2_fs_chardev_exit(struct bch_fs *c) {}