Commit 89c07d60 authored by Dave Kleikamp's avatar Dave Kleikamp

JFS: change name of get_index() to read_index()

get_index conflicts with a symbol in a mips include file.
parent 8e12e1f9
...@@ -490,11 +490,11 @@ static void modify_index(tid_t tid, struct inode *ip, u32 index, s64 bn, ...@@ -490,11 +490,11 @@ static void modify_index(tid_t tid, struct inode *ip, u32 index, s64 bn,
} }
/* /*
* get_index() * read_index()
* *
* reads a directory table slot * reads a directory table slot
*/ */
static int get_index(struct inode *ip, u32 index, static int read_index(struct inode *ip, u32 index,
struct dir_table_slot * dirtab_slot) struct dir_table_slot * dirtab_slot)
{ {
struct metapage *mp = 0; struct metapage *mp = 0;
...@@ -2978,7 +2978,7 @@ int jfs_readdir(struct file *filp, void *dirent, filldir_t filldir) ...@@ -2978,7 +2978,7 @@ int jfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
return 0; return 0;
} }
repeat: repeat:
rc = get_index(ip, dir_index, &dirtab_slot); rc = read_index(ip, dir_index, &dirtab_slot);
if (rc) { if (rc) {
filp->f_pos = DIREND; filp->f_pos = DIREND;
return rc; return rc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment