projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48ffdab
)
ext4: drop set but otherwise unused variable from ext4_add_dirent_to_inline()
author
Azat Khuzhin
<a3at.mail@gmail.com>
Wed, 30 Oct 2013 14:53:10 +0000
(10:53 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Wed, 30 Oct 2013 14:53:10 +0000
(10:53 -0400)
Signed-off-by: Azat Khuzhin <a3at.mail@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/inline.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext4/inline.c
b/fs/ext4/inline.c
index c3efb65d2ec68628a3c2f478f77dff903e56d19b..bae987549dc367736eaf0beeedb29e8e514e46e6 100644
(file)
--- a/
fs/ext4/inline.c
+++ b/
fs/ext4/inline.c
@@
-994,11
+994,9
@@
static int ext4_add_dirent_to_inline(handle_t *handle,
struct inode *dir = dentry->d_parent->d_inode;
const char *name = dentry->d_name.name;
int namelen = dentry->d_name.len;
- unsigned short reclen;
int err;
struct ext4_dir_entry_2 *de;
- reclen = EXT4_DIR_REC_LEN(namelen);
err = ext4_find_dest_de(dir, inode, iloc->bh,
inline_start, inline_size,
name, namelen, &de);