mirror of https://github.com/vitalif/e2fsprogs
ext_attr.c (ext2fs_write_ext_attr): When writing the extended
attribute block, set the filesystem changed bit.bitmap-optimize
parent
d312401961
commit
241f7d2068
|
@ -1,5 +1,8 @@
|
||||||
2001-07-20 Theodore Tso <tytso@valinux.com>
|
2001-07-20 Theodore Tso <tytso@valinux.com>
|
||||||
|
|
||||||
|
* ext_attr.c (ext2fs_write_ext_attr): When writing the extended
|
||||||
|
attribute block, set the filesystem changed bit.
|
||||||
|
|
||||||
* bitops.h (ext2fs_find_first_bit_set, ext2fs_find_next_bit_set):
|
* bitops.h (ext2fs_find_first_bit_set, ext2fs_find_next_bit_set):
|
||||||
Comment out these functions since we're not using them.
|
Comment out these functions since we're not using them.
|
||||||
|
|
||||||
|
|
|
@ -94,5 +94,7 @@ errcode_t ext2fs_write_ext_attr(ext2_filsys fs, blk_t block, void *inbuf)
|
||||||
retval = io_channel_write_blk(fs->io, block, 1, write_buf);
|
retval = io_channel_write_blk(fs->io, block, 1, write_buf);
|
||||||
if (buf)
|
if (buf)
|
||||||
ext2fs_free_mem((void **) &buf);
|
ext2fs_free_mem((void **) &buf);
|
||||||
|
if (!retval)
|
||||||
|
ext2fs_mark_changed(fs);
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue