diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-03-09 17:25:14 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-03-27 12:32:24 -0400 |
commit | fc87701b918c05c2d78f8191f5bc3c6c178bdb3d (patch) | |
tree | af6c056963130cd56aaa58fe0bc47fb68b7ebc62 /fs/nfs | |
parent | df52699e4fcefe30ebe4f1db48bd161254a0b102 (diff) |
NFS: Fix free_deveiceid -> free_deviceid
Make it easier to grep for these functions by name.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/filelayout/filelayout.c | 4 | ||||
-rw-r--r-- | fs/nfs/flexfilelayout/flexfilelayout.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/fs/nfs/filelayout/filelayout.c b/fs/nfs/filelayout/filelayout.c index 91e88a7ecef0..5639a2ef671a 100644 --- a/fs/nfs/filelayout/filelayout.c +++ b/fs/nfs/filelayout/filelayout.c | |||
@@ -1086,7 +1086,7 @@ filelayout_alloc_deviceid_node(struct nfs_server *server, | |||
1086 | } | 1086 | } |
1087 | 1087 | ||
1088 | static void | 1088 | static void |
1089 | filelayout_free_deveiceid_node(struct nfs4_deviceid_node *d) | 1089 | filelayout_free_deviceid_node(struct nfs4_deviceid_node *d) |
1090 | { | 1090 | { |
1091 | nfs4_fl_free_deviceid(container_of(d, struct nfs4_file_layout_dsaddr, id_node)); | 1091 | nfs4_fl_free_deviceid(container_of(d, struct nfs4_file_layout_dsaddr, id_node)); |
1092 | } | 1092 | } |
@@ -1137,7 +1137,7 @@ static struct pnfs_layoutdriver_type filelayout_type = { | |||
1137 | .read_pagelist = filelayout_read_pagelist, | 1137 | .read_pagelist = filelayout_read_pagelist, |
1138 | .write_pagelist = filelayout_write_pagelist, | 1138 | .write_pagelist = filelayout_write_pagelist, |
1139 | .alloc_deviceid_node = filelayout_alloc_deviceid_node, | 1139 | .alloc_deviceid_node = filelayout_alloc_deviceid_node, |
1140 | .free_deviceid_node = filelayout_free_deveiceid_node, | 1140 | .free_deviceid_node = filelayout_free_deviceid_node, |
1141 | }; | 1141 | }; |
1142 | 1142 | ||
1143 | static int __init nfs4filelayout_init(void) | 1143 | static int __init nfs4filelayout_init(void) |
diff --git a/fs/nfs/flexfilelayout/flexfilelayout.c b/fs/nfs/flexfilelayout/flexfilelayout.c index 315cc68945b9..edfb27ea4ce2 100644 --- a/fs/nfs/flexfilelayout/flexfilelayout.c +++ b/fs/nfs/flexfilelayout/flexfilelayout.c | |||
@@ -1414,7 +1414,7 @@ ff_layout_get_ds_info(struct inode *inode) | |||
1414 | } | 1414 | } |
1415 | 1415 | ||
1416 | static void | 1416 | static void |
1417 | ff_layout_free_deveiceid_node(struct nfs4_deviceid_node *d) | 1417 | ff_layout_free_deviceid_node(struct nfs4_deviceid_node *d) |
1418 | { | 1418 | { |
1419 | nfs4_ff_layout_free_deviceid(container_of(d, struct nfs4_ff_layout_ds, | 1419 | nfs4_ff_layout_free_deviceid(container_of(d, struct nfs4_ff_layout_ds, |
1420 | id_node)); | 1420 | id_node)); |
@@ -1498,7 +1498,7 @@ static struct pnfs_layoutdriver_type flexfilelayout_type = { | |||
1498 | .pg_read_ops = &ff_layout_pg_read_ops, | 1498 | .pg_read_ops = &ff_layout_pg_read_ops, |
1499 | .pg_write_ops = &ff_layout_pg_write_ops, | 1499 | .pg_write_ops = &ff_layout_pg_write_ops, |
1500 | .get_ds_info = ff_layout_get_ds_info, | 1500 | .get_ds_info = ff_layout_get_ds_info, |
1501 | .free_deviceid_node = ff_layout_free_deveiceid_node, | 1501 | .free_deviceid_node = ff_layout_free_deviceid_node, |
1502 | .mark_request_commit = pnfs_layout_mark_request_commit, | 1502 | .mark_request_commit = pnfs_layout_mark_request_commit, |
1503 | .clear_request_commit = pnfs_generic_clear_request_commit, | 1503 | .clear_request_commit = pnfs_generic_clear_request_commit, |
1504 | .scan_commit_lists = pnfs_generic_scan_commit_lists, | 1504 | .scan_commit_lists = pnfs_generic_scan_commit_lists, |