mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
Unlock mutex after i_flags and i_ctime updates in the EXT2_IOC_SETFLAGS ioctl. Use i_mutex in the EXT2_IOC_SETVERSION ioctl to protect i_ctime and i_generation updates and make the ioctl consistent since i_mutex is also used in other places to protect timestamps and inode changes. Cc: Andreas Dilger <[email protected]> Cc: Jan Kara <[email protected]> Signed-off-by: Djalal Harouni <[email protected]> Signed-off-by: Jan Kara <[email protected]>