linux_dsm_epyc7002/fs/nfsd
Al Viro c3141ef7f9 new helper: inode_wrong_type()
commit 6e3e2c4362e41a2f18e3f7a5ad81bd2f49a47b85 upstream.

inode_wrong_type(inode, mode) returns true if setting inode->i_mode
to given value would've changed the inode type.  We have enough of
those checks open-coded to make a helper worthwhile.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-07-05 19:05:18 +02:00
..
acl.h nfsd: eliminate an unnecessary acl size limit 2019-08-28 21:13:45 -04:00
auth.c init: add dsm gpl source 2024-07-05 18:00:04 +02:00
auth.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
blocklayout.c block: add a bdev_is_partition helper 2020-09-25 08:18:57 -06:00
blocklayoutxdr.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
blocklayoutxdr.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cache.h nfsd4: make drc_slab global, not per-net 2020-06-01 17:44:45 -04:00
current_stateid.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
export.c NFSD: Map nfserr_wrongsec outside of nfsd_dispatch 2020-10-02 09:37:42 -04:00
export.h knfsd: Allow lockless lookups of the exports 2018-10-29 16:58:04 -04:00
fault_inject.c nfsd: no need to check return value of debugfs_create functions 2019-07-03 16:57:17 +02:00
filecache.c nfsd: Don't keep looking up unhashed files in the nfsd file cache 2021-03-25 09:04:08 +01:00
filecache.h nfsd: convert file cache to use over/underflow safe refcount 2020-02-06 11:22:55 -05:00
flexfilelayout.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
flexfilelayoutxdr.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
flexfilelayoutxdr.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
idmap.h
Kconfig fs: nfsd: fix kconfig dependency warning for NFSD_V4 2021-04-07 15:00:03 +02:00
lockd.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile init: add dsm gpl source 2024-07-05 18:00:04 +02:00
netns.h init: add dsm gpl source 2024-07-05 18:00:04 +02:00
nfs2acl.c init: add dsm gpl source 2024-07-05 18:00:04 +02:00
nfs3acl.c init: add dsm gpl source 2024-07-05 18:00:04 +02:00
nfs3proc.c init: add dsm gpl source 2024-07-05 18:00:04 +02:00
nfs3xdr.c nfsd4: readdirplus shouldn't return parent of export 2021-01-23 16:03:58 +01:00
nfs4acl.c
nfs4callback.c NFSD: fix error handling in NFSv4.0 callbacks 2021-04-07 15:00:05 +02:00
nfs4idmap.c nfsd: Use seq_putc() in two functions 2020-07-13 17:28:46 -04:00
nfs4layouts.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
nfs4proc.c init: add dsm gpl source 2024-07-05 18:00:04 +02:00
nfs4recover.c nfsd: avoid a NULL dereference in __cld_pipe_upcall() 2020-07-13 17:28:46 -04:00
nfs4state.c init: add dsm gpl source 2024-07-05 18:00:04 +02:00
nfs4xdr.c init: add dsm gpl source 2024-07-05 18:00:04 +02:00
nfscache.c silence nfscache allocation warnings with kvzalloc 2020-09-25 18:01:28 -04:00
nfsctl.c init: add dsm gpl source 2024-07-05 18:00:04 +02:00
nfsd.h init: add dsm gpl source 2024-07-05 18:00:04 +02:00
nfsfh.c init: add dsm gpl source 2024-07-05 18:00:04 +02:00
nfsfh.h nfsd: handle nfs3 timestamps as unsigned 2019-12-19 17:46:08 -05:00
nfsproc.c new helper: inode_wrong_type() 2024-07-05 19:05:18 +02:00
nfssvc.c init: add dsm gpl source 2024-07-05 18:00:04 +02:00
nfsxdr.c NFSD: Hoist status code encoding into XDR encoder functions 2020-10-12 10:29:44 -04:00
pnfs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
state.h init: add dsm gpl source 2024-07-05 18:00:04 +02:00
stats.c init: add dsm gpl source 2024-07-05 18:00:04 +02:00
stats.h init: add dsm gpl source 2024-07-05 18:00:04 +02:00
syno_io_stat.c init: add dsm gpl source 2024-07-05 18:00:04 +02:00
syno_io_stat.h init: add dsm gpl source 2024-07-05 18:00:04 +02:00
trace.c
trace.h init: add dsm gpl source 2024-07-05 18:00:04 +02:00
vfs.c init: add dsm gpl source 2024-07-05 18:00:04 +02:00
vfs.h init: add dsm gpl source 2024-07-05 18:00:04 +02:00
xdr3.h NFSD: Encoder and decoder functions are always present 2020-10-02 09:37:41 -04:00
xdr4.h init: add dsm gpl source 2024-07-05 18:00:04 +02:00
xdr4cb.h NFSD CB_OFFLOAD xdr 2018-09-25 20:34:54 -04:00
xdr.h NFSD: Hoist status code encoding into XDR encoder functions 2020-10-12 10:29:44 -04:00