projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c48c43e
)
fix braino in fs: do not assign default i_ino in new_inode
author
Al Viro
<
[email protected]
>
Wed, 27 Oct 2010 03:19:36 +0000
(
04:19
+0100)
committer
Linus Torvalds
<
[email protected]
>
Wed, 27 Oct 2010 03:25:45 +0000
(20:25 -0700)
usbfs_get_inode() is something completely different...
Bogosity introduced by commit
85fe4025c616
("fs: do not assign default
i_ino in new_inode").
Signed-off-by: Al Viro <
[email protected]
>
Cc: Christoph Hellwig <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/usb/gadget/f_fs.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/f_fs.c
b/drivers/usb/gadget/f_fs.c
index e093fd8d04d3587170d6cfa1edb5a50ee3637a3c..f276e9594f00eab91ff7f789b58e80e7a95a8bcc 100644
(file)
--- a/
drivers/usb/gadget/f_fs.c
+++ b/
drivers/usb/gadget/f_fs.c
@@
-980,7
+980,7
@@
ffs_sb_make_inode(struct super_block *sb, void *data,
if (likely(inode)) {
struct timespec current_time = CURRENT_TIME;
- inode->i_ino =
usbfs_get_inode
();
+ inode->i_ino =
get_next_ino
();
inode->i_mode = perms->mode;
inode->i_uid = perms->uid;
inode->i_gid = perms->gid;