omfs: rename() needs to mark old_inode dirty after ctime update
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 4 Mar 2011 06:14:55 +0000 (01:14 -0500)
committerBob Copeland <me@bobcopeland.com>
Sat, 5 Mar 2011 21:20:30 +0000 (16:20 -0500)
commit013e4f4a285d8c7d952d8d7be9f10783a85b5d3c
tree50f72ff88035306d4054bdfad5f2202db875d080
parent85e2efbb1db9a18d218006706d6e4fbeb0216213
omfs: rename() needs to mark old_inode dirty after ctime update

we *do* mark it dirty before, but it doesn't guarantee that we
don't get preempted just before assignment to ->i_ctime, with
inode getting written out before we get CPU back...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Bob Copeland <me@bobcopeland.com>
fs/omfs/dir.c
This page took 0.025649 seconds and 5 git commands to generate.