]> git.karo-electronics.de Git - linux-beck.git/commit
ext4: fix setting of referenced bit in ext4_es_lookup_extent()
authorJan Kara <jack@suse.cz>
Thu, 10 Mar 2016 03:26:55 +0000 (22:26 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 10 Mar 2016 03:26:55 +0000 (22:26 -0500)
commit87d8a74b56746d4b6125602365b10995116afd00
tree99d114c523b37787451f3f72af3d191c6d3b7961
parent600be30a8bc1d405f791e01dbef84679e14529b8
ext4: fix setting of referenced bit in ext4_es_lookup_extent()

We were setting referenced bit on the extent structure we return from
ext4_es_lookup_extent() which is just a private structure on stack. Thus
setting had no effect. Set the bit in the structure in the status tree
instead.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/extents_status.c