Updating i_disksize without acquiring i_data_sem semaphore

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.
I am looking around ext4 code and I observed the following issue.

Within ext4_insert_range(), EXT4_I(inode)->i_disksize is being updated
without acquiring i_data_sem.

I have seen code where this operation is done after acquiring
i_data_sem such as in
ext4_update_i_disksize()

So, is this as expected or is it problematic?

Regards,
Rohit




[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux