diff options
author | Jeff Layton <jlayton@redhat.com> | 2009-05-27 09:37:34 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2009-05-28 14:57:29 +0000 |
commit | bd433d4cf4d8593a5f1764776b91f1794fce5a77 (patch) | |
tree | 49656dd0ef08792dfd86db25216a4d04211b923f /fs/cifs/cifsfs.c | |
parent | c4a2c08db7d976c2e23a97da5d69ec7c9701034d (diff) | |
download | linux-bd433d4cf4d8593a5f1764776b91f1794fce5a77.tar.gz linux-bd433d4cf4d8593a5f1764776b91f1794fce5a77.tar.bz2 linux-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/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 5e6d35804d73..0a10a59b6392 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c @@ -146,7 +146,7 @@ cifs_read_super(struct super_block *sb, void *data, #endif sb->s_blocksize = CIFS_MAX_MSGSIZE; sb->s_blocksize_bits = 14; /* default 2**14 = CIFS_MAX_MSGSIZE */ - inode = cifs_iget(sb, ROOT_I); + inode = cifs_root_iget(sb, ROOT_I); if (IS_ERR(inode)) { rc = PTR_ERR(inode); |