]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ocfs2: Block signals for mkdir/link/symlink/O_CREAT.
authorJoel Becker <joel.becker@oracle.com>
Mon, 10 May 2010 18:56:52 +0000 (11:56 -0700)
committerJoel Becker <joel.becker@oracle.com>
Mon, 10 May 2010 18:56:52 +0000 (11:56 -0700)
commit547ba7c8efe43c2cabb38782e23572a6179dd1c1
tree66343f838e25938a0c41662716d6eca6eaf6d5cb
parente4b963f10e9026c83419b5c25b93a0350413cf16
ocfs2: Block signals for mkdir/link/symlink/O_CREAT.

Once file or link creation gets going, it can't be interrupted by a
signal.  They're not idempotent.

This blocks signals in ocfs2_mknod(), ocfs2_link(), and ocfs2_symlink()
once we start actually changing things.  ocfs2_mknod() covers mknod(),
creat(), mkdir(), and open(O_CREAT).

Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/namei.c