diff options
| author | Anna Schumaker <anna.schumaker@oracle.com> | 2025-12-04 15:44:33 -0500 |
|---|---|---|
| committer | Anna Schumaker <anna.schumaker@oracle.com> | 2026-01-30 11:42:21 -0500 |
| commit | 7537db24806fdc3d3ec4fef53babdc22c9219e75 (patch) | |
| tree | f05924c1662744b73bc6ef07b3ac7b20b896564a /fs/nfs/write.c | |
| parent | 4e0269352534715915aae3fb84dd4d3bb3ff3738 (diff) | |
| download | lwn-7537db24806fdc3d3ec4fef53babdc22c9219e75.tar.gz lwn-7537db24806fdc3d3ec4fef53babdc22c9219e75.zip | |
NFS: Merge CONFIG_NFS_V4_1 with CONFIG_NFS_V4
Compiling the NFSv4 module without any minorversion support doesn't make
much sense, so this patch sets NFS v4.1 as the default, always enabled
NFS version allowing us to replace all the CONFIG_NFS_V4_1s scattered
throughout the code with CONFIG_NFS_V4.
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Diffstat (limited to 'fs/nfs/write.c')
| -rw-r--r-- | fs/nfs/write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c index bf412455e8ed..2d0e4a765aeb 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c @@ -1402,7 +1402,7 @@ void nfs_pageio_init_write(struct nfs_pageio_descriptor *pgio, struct nfs_server *server = NFS_SERVER(inode); const struct nfs_pageio_ops *pg_ops = &nfs_pgio_rw_ops; -#ifdef CONFIG_NFS_V4_1 +#if IS_ENABLED(CONFIG_NFS_V4) if (server->pnfs_curr_ld && !force_mds) pg_ops = server->pnfs_curr_ld->pg_write_ops; #endif |
