summaryrefslogtreecommitdiff
path: root/fs/smb/client/inode.c
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2023-09-15 09:10:40 +0300
committerSteve French <stfrench@microsoft.com>2023-09-15 09:10:40 +0300
commitebc3d4e44a7e05457825e03d0560153687265523 (patch)
tree24333bd344fae5eb9cb20c41a05d2df3601192ff /fs/smb/client/inode.c
parent05d0f8f55ad60854cb706798da94276a33590445 (diff)
downloadlinux-ebc3d4e44a7e05457825e03d0560153687265523.tar.xz
smb3: correct places where ENOTSUPP is used instead of preferred EOPNOTSUPP
checkpatch flagged a few places with: WARNING: ENOTSUPP is not a SUSV4 error code, prefer EOPNOTSUPP Also fixed minor typo Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/client/inode.c')
-rw-r--r--fs/smb/client/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/smb/client/inode.c b/fs/smb/client/inode.c
index de2dfbaae821..d7c302442c1e 100644
--- a/fs/smb/client/inode.c
+++ b/fs/smb/client/inode.c
@@ -2680,7 +2680,7 @@ int cifs_fiemap(struct inode *inode, struct fiemap_extent_info *fei, u64 start,
}
cifsFileInfo_put(cfile);
- return -ENOTSUPP;
+ return -EOPNOTSUPP;
}
int cifs_truncate_page(struct address_space *mapping, loff_t from)