commit | 547ba7c8efe43c2cabb38782e23572a6179dd1c1 | [log] [tgz] |
---|---|---|
author | Joel Becker <joel.becker@oracle.com> | Mon May 10 11:56:52 2010 -0700 |
committer | Joel Becker <joel.becker@oracle.com> | Mon May 10 11:56:52 2010 -0700 |
tree | 66343f838e25938a0c41662716d6eca6eaf6d5cb | |
parent | e4b963f10e9026c83419b5c25b93a0350413cf16 [diff] |
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>