diff options
-rw-r--r-- | drivers/usb/gadget/f_fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/f_fs.c b/drivers/usb/gadget/f_fs.c index e093fd8d04d3..f276e9594f00 100644 --- 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, | |||
980 | if (likely(inode)) { | 980 | if (likely(inode)) { |
981 | struct timespec current_time = CURRENT_TIME; | 981 | struct timespec current_time = CURRENT_TIME; |
982 | 982 | ||
983 | inode->i_ino = usbfs_get_inode(); | 983 | inode->i_ino = get_next_ino(); |
984 | inode->i_mode = perms->mode; | 984 | inode->i_mode = perms->mode; |
985 | inode->i_uid = perms->uid; | 985 | inode->i_uid = perms->uid; |
986 | inode->i_gid = perms->gid; | 986 | inode->i_gid = perms->gid; |