projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9862022
)
bcachefs: Correct the FS_IOC_GETFLAGS to FS_IOC32_GETFLAGS in bch2_compat_fs_ioctl()
author
Youling Tang
<tangyouling@kylinos.cn>
Tue, 30 Apr 2024 03:27:44 +0000
(11:27 +0800)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Wed, 8 May 2024 21:29:21 +0000
(17:29 -0400)
It should be FS_IOC32_GETFLAGS instead of FS_IOC_GETFLAGS in
compat ioctl.
Signed-off-by: Youling Tang <tangyouling@kylinos.cn>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fs-ioctl.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/fs-ioctl.c
b/fs/bcachefs/fs-ioctl.c
index 3dc8630ff9fe139bd44317d72502ed9bf1f73751..205a323ffc6ddd962499a3e0082d686d13c1a103 100644
(file)
--- a/
fs/bcachefs/fs-ioctl.c
+++ b/
fs/bcachefs/fs-ioctl.c
@@
-548,7
+548,7
@@
long bch2_compat_fs_ioctl(struct file *file, unsigned cmd, unsigned long arg)
{
/* These are just misnamed, they actually get/put from/to user an int */
switch (cmd) {
- case FS_IOC_GETFLAGS:
+ case FS_IOC
32
_GETFLAGS:
cmd = FS_IOC_GETFLAGS;
break;
case FS_IOC32_SETFLAGS: