Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
6a6ee575
Commit
6a6ee575
authored
Mar 23, 2003
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Add missing time initialisation to get_cramfs_inode
parent
8cff42c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
fs/cramfs/inode.c
fs/cramfs/inode.c
+1
-0
No files found.
fs/cramfs/inode.c
View file @
6a6ee575
...
@@ -51,6 +51,7 @@ static struct inode *get_cramfs_inode(struct super_block *sb, struct cramfs_inod
...
@@ -51,6 +51,7 @@ static struct inode *get_cramfs_inode(struct super_block *sb, struct cramfs_inod
inode
->
i_blocks
=
(
cramfs_inode
->
size
-
1
)
/
512
+
1
;
inode
->
i_blocks
=
(
cramfs_inode
->
size
-
1
)
/
512
+
1
;
inode
->
i_blksize
=
PAGE_CACHE_SIZE
;
inode
->
i_blksize
=
PAGE_CACHE_SIZE
;
inode
->
i_gid
=
cramfs_inode
->
gid
;
inode
->
i_gid
=
cramfs_inode
->
gid
;
inode
->
i_mtime
=
inode
->
i_atime
=
inode
->
i_ctime
=
0
;
inode
->
i_ino
=
CRAMINO
(
cramfs_inode
);
inode
->
i_ino
=
CRAMINO
(
cramfs_inode
);
/* inode->i_nlink is left 1 - arguably wrong for directories,
/* inode->i_nlink is left 1 - arguably wrong for directories,
but it's the best we can do without reading the directory
but it's the best we can do without reading the directory
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment