NFS: Correct comment tyops -> typos
Subsystems (2)
PATCH 1/1 NFS: Correct comment tyops -> typos
Just fix the typos checkpatch notices...
Signed-off-by Joe Perches <[email protected]>
--- fs/nfs/export.c | 2 +- fs/nfs/flexfilelayout/flexfilelayout.c | 2 +- fs/nfs/nfs4_fs.h | 2 +- fs/nfs/nfs4proc.c | 4 ++-- fs/nfs/nfs4xdr.c | 2 +- fs/nfs/pnfs.c | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-)
fs/nfs/export.c +1 -1
@@ -18,7 +18,7 @@ enum {FILEID_HIGH_OFF =0 ,/* inode fileid high */ FILEID_LOW_OFF ,/* inode fileid low */ FILE_I_TYPE_OFF ,/* inode type */ - EMBED_FH_OFF /* embeded server fh */ + EMBED_FH_OFF /* embedded server fh */ };
fs/nfs/flexfilelayout/flexfilelayout.c +1 -1
@@ -123,7 +123,7 @@ static int decode_nfs_fh(struct xdr_stream *xdr, struct nfs_fh *fh)* I.e., kerberos is not supported to the DSes, so no pricipals. * * That means that one common function will suffice, but when -* principals are added, this should be split to accomodate +* principals are added, this should be split to accommodate * calls to both nfs_map_name_to_uid() and nfs_map_group_to_gid(). */ static int
fs/nfs/nfs4_fs.h +1 -1
@@ -345,7 +345,7 @@ _nfs4_state_protect(struct nfs_client *clp, unsigned long sp4_mode,if (sp4_mode ==NFS_SP4_MACH_CRED_CLEANUP || sp4_mode ==NFS_SP4_MACH_CRED_PNFS_CLEANUP ) {/* Using machine creds for cleanup operations -* is only relevent if the client credentials +* is only relevant if the client credentials * might expire. So don't bother for * RPC_AUTH_UNIX. If file was only exported to * sec=sys, the PUTFH would fail anyway.
fs/nfs/nfs4proc.c +2 -2
@@ -7701,7 +7701,7 @@ int nfs4_proc_fsid_present(struct inode *inode, const struct cred *cred) }/* -* If 'use_integrity' is true and the state managment nfs_client +* If 'use_integrity' is true and the state management nfs_client * cl_rpcclient is using krb5i/p, use the integrity protected cl_rpcclient * and the machine credential as per RFC3530bis and RFC5661 Security * Considerations sections. Otherwise, just use the user cred with the
@@ -9411,7 +9411,7 @@ nfs4_proc_layoutcommit(struct nfs4_layoutcommit_data *data, bool sync) }/* -* Use the state managment nfs_client cl_rpcclient, which uses krb5i (if +* Use the state management nfs_client cl_rpcclient, which uses krb5i (if * possible) as per RFC3530bis and RFC5661 Security Considerations sections */ static int
fs/nfs/nfs4xdr.c +1 -1
@@ -4768,7 +4768,7 @@ static int decode_attr_pnfstype(struct xdr_stream *xdr, uint32_t *bitmap, }/* -* The prefered block size for layout directed io +* The preferred block size for layout directed io */ static int decode_attr_layout_blksize (struct xdr_stream *xdr,uint32_t *bitmap,uint32_t *res)
fs/nfs/pnfs.c +1 -1
@@ -1873,7 +1873,7 @@ static void _add_to_server_list(struct pnfs_layout_hdr *lo, }/* -* Layout segment is retreived from the server if not cached. +* Layout segment is retrieved from the server if not cached. * The appropriate layout segment is referenced and returned to the caller. */ struct pnfs_layout_segment *