projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fs: do not assign default i_ino in new_inode
[deliverable/linux.git]
/
drivers
/
misc
/
ibmasm
/
ibmasmfs.c
diff --git
a/drivers/misc/ibmasm/ibmasmfs.c
b/drivers/misc/ibmasm/ibmasmfs.c
index af2497ae5fe32be990aabdb6732c44eaaf0591fb..0a53500636c9d3f4c4d1f886d386f1b1b675f95d 100644
(file)
--- a/
drivers/misc/ibmasm/ibmasmfs.c
+++ b/
drivers/misc/ibmasm/ibmasmfs.c
@@
-146,6
+146,7
@@
static struct inode *ibmasmfs_make_inode(struct super_block *sb, int mode)
struct inode *ret = new_inode(sb);
if (ret) {
+ ret->i_ino = get_next_ino();
ret->i_mode = mode;
ret->i_atime = ret->i_mtime = ret->i_ctime = CURRENT_TIME;
}
This page took
0.041652 seconds
and
5
git commands to generate.