Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8817d25
)
libext2fs: remove unused variable 'old_flags'
author
Eric Biggers
<ebiggers@google.com>
Mon, 29 Apr 2019 00:37:45 +0000
(20:37 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 29 Apr 2019 00:37:45 +0000
(20:37 -0400)
In ext2fs_write_inode2(), the 'old_flags' variable is never used.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/inode.c
patch
|
blob
|
history
diff --git
a/lib/ext2fs/inode.c
b/lib/ext2fs/inode.c
index
2a4be73
..
75df418
100644
(file)
--- a/
lib/ext2fs/inode.c
+++ b/
lib/ext2fs/inode.c
@@
-903,7
+903,6
@@
errcode_t ext2fs_write_inode2(ext2_filsys fs, ext2_ino_t ino,
return retval;
if (bufsize < length) {
- int old_flags = fs->flags;
retval = ext2fs_read_inode2(fs, ino,
(struct ext2_inode *)w_inode,
length, READ_INODE_NOCSUM);