mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
autofs4: fix coding style line length in autofs4_wait()
The need for this is questionable but checkpatch.pl complains about the line length and it's a straightfoward change. Signed-off-by: Ian Kent <raven@themaw.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
aa330ddc53
commit
b3f67a988c
@ -476,12 +476,14 @@ int autofs4_wait(struct autofs_sb_info *sbi,
|
||||
*/
|
||||
if (wq->name.name) {
|
||||
/* Block all but "shutdown" signals while waiting */
|
||||
sigset_t oldset;
|
||||
unsigned long shutdown_sigs_mask;
|
||||
unsigned long irqflags;
|
||||
sigset_t oldset;
|
||||
|
||||
spin_lock_irqsave(¤t->sighand->siglock, irqflags);
|
||||
oldset = current->blocked;
|
||||
siginitsetinv(¤t->blocked, SHUTDOWN_SIGS & ~oldset.sig[0]);
|
||||
shutdown_sigs_mask = SHUTDOWN_SIGS & ~oldset.sig[0];
|
||||
siginitsetinv(¤t->blocked, shutdown_sigs_mask);
|
||||
recalc_sigpending();
|
||||
spin_unlock_irqrestore(¤t->sighand->siglock, irqflags);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user