aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <[email protected]>2008-02-10 01:20:05 -0500
committerTheodore Ts'o <[email protected]>2008-02-10 01:20:05 -0500
commit8009f9fb3067fef6c2ca0c16f6bac786ae28639d (patch)
treeacf8bbfd2833a63baa9d2194ed30bf7e7dcb3075 /net/unix/sysctl_net_unix.c
parent0040d9875dcccfcb2131417b10fbd9841bc5f05b (diff)
ext4: Fix circular locking dependency with migrate and rm.
In order to prevent a circular locking dependency when an unlink operation is racing with an ext4 migration, we delay taking i_data_sem until just before switch the inode format, and use i_mutex to prevent writes and truncates during the first part of the migration operation. Acked-by: Jan Kara <[email protected]> Signed-off-by: Aneesh Kumar K.V <[email protected]> Signed-off-by: Mingming Cao <[email protected]> Signed-off-by: "Theodore Ts'o" <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions