autofs4: fix coding style line length in autofs4_wait()
authorIan Kent <raven@themaw.net>
Tue, 15 Mar 2016 21:58:30 +0000 (14:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Mar 2016 23:55:16 +0000 (16:55 -0700)
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>
fs/autofs4/waitq.c

index 4e0c8d62dc1fce5ddac84aa9c8832c4650ccb050..4aeae3b9f278aa6113b2304865ecbf3c8a28b86f 100644 (file)
@@ -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(&current->sighand->siglock, irqflags);
                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();
                spin_unlock_irqrestore(&current->sighand->siglock, irqflags);