projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SPARC64]: Fix sparse warnings wrt. __show_regs().
[cascardo/linux.git]
/
fs
/
hfs
/
dir.c
diff --git
a/fs/hfs/dir.c
b/fs/hfs/dir.c
index
37d681b
..
7c69b98
100644
(file)
--- a/
fs/hfs/dir.c
+++ b/
fs/hfs/dir.c
@@
-53,7
+53,7
@@
done:
*/
static int hfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
{
*/
static int hfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
{
- struct inode *inode = filp->f_dentry->d_inode;
+ struct inode *inode = filp->f_
path.
dentry->d_inode;
struct super_block *sb = inode->i_sb;
int len, err;
char strbuf[HFS_MAX_NAMELEN];
struct super_block *sb = inode->i_sb;
int len, err;
char strbuf[HFS_MAX_NAMELEN];
@@
-320,7
+320,7
@@
const struct file_operations hfs_dir_operations = {
.release = hfs_dir_release,
};
.release = hfs_dir_release,
};
-struct inode_operations hfs_dir_inode_operations = {
+
const
struct inode_operations hfs_dir_inode_operations = {
.create = hfs_create,
.lookup = hfs_lookup,
.unlink = hfs_unlink,
.create = hfs_create,
.lookup = hfs_lookup,
.unlink = hfs_unlink,