Ver Fonte

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>
Ian Kent há 9 anos atrás
pai
commit
b3f67a988c
1 ficheiros alterados com 4 adições e 2 exclusões
  1. 4 2
      fs/autofs4/waitq.c

+ 4 - 2
fs/autofs4/waitq.c

@@ -476,12 +476,14 @@ int autofs4_wait(struct autofs_sb_info *sbi,
 	 */
 	 */
 	if (wq->name.name) {
 	if (wq->name.name) {
 		/* Block all but "shutdown" signals while waiting */
 		/* Block all but "shutdown" signals while waiting */
-		sigset_t oldset;
+		unsigned long shutdown_sigs_mask;
 		unsigned long irqflags;
 		unsigned long irqflags;
+		sigset_t oldset;
 
 
 		spin_lock_irqsave(&current->sighand->siglock, irqflags);
 		spin_lock_irqsave(&current->sighand->siglock, irqflags);
 		oldset = current->blocked;
 		oldset = current->blocked;
-		siginitsetinv(&current->blocked, SHUTDOWN_SIGS & ~oldset.sig[0]);
+		shutdown_sigs_mask = SHUTDOWN_SIGS & ~oldset.sig[0];
+		siginitsetinv(&current->blocked, shutdown_sigs_mask);
 		recalc_sigpending();
 		recalc_sigpending();
 		spin_unlock_irqrestore(&current->sighand->siglock, irqflags);
 		spin_unlock_irqrestore(&current->sighand->siglock, irqflags);