summaryrefslogtreecommitdiffstats
path: root/fs/cifs/inode.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2009-05-27 09:37:34 -0400
committerSteve French <sfrench@us.ibm.com>2009-05-28 14:57:29 +0000
commitbd433d4cf4d8593a5f1764776b91f1794fce5a77 (patch)
tree49656dd0ef08792dfd86db25216a4d04211b923f /fs/cifs/inode.c
parentc4a2c08db7d976c2e23a97da5d69ec7c9701034d (diff)
downloadlinux-stable-bd433d4cf4d8593a5f1764776b91f1794fce5a77.tar.gz
linux-stable-bd433d4cf4d8593a5f1764776b91f1794fce5a77.tar.bz2
linux-stable-bd433d4cf4d8593a5f1764776b91f1794fce5a77.zip
cifs: rename cifs_iget to cifs_root_iget
The current cifs_iget isn't suitable for anything but the root inode. Rename it with a more appropriate name. Signed-off-by: Jeff Layton <jlayton@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r--fs/cifs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
index 42d6e0fb6f31..84b7bea73674 100644
--- a/fs/cifs/inode.c
+++ b/fs/cifs/inode.c
@@ -696,7 +696,7 @@ char *cifs_build_path_to_root(struct cifs_sb_info *cifs_sb)
}
/* gets root inode */
-struct inode *cifs_iget(struct super_block *sb, unsigned long ino)
+struct inode *cifs_root_iget(struct super_block *sb, unsigned long ino)
{
int xid;
struct cifs_sb_info *cifs_sb;