summaryrefslogtreecommitdiffstats
path: root/fs/super.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2020-06-11 01:09:11 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2020-06-11 01:09:11 +0200
commit4dbb29fe9dae033a375f231da9cc27aaa09d2580 (patch)
tree9bd4119cb712b2203e06da0fa79c4cb15148f2bd /fs/super.c
parentMerge branch 'work.sysctl' of git://git.kernel.org/pub/scm/linux/kernel/git/v... (diff)
parentfs: fix indentation in deactivate_super() (diff)
downloadlinux-4dbb29fe9dae033a375f231da9cc27aaa09d2580.tar.xz
linux-4dbb29fe9dae033a375f231da9cc27aaa09d2580.zip
Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull vfs fixes from Al Viro: "A couple of trivial patches that fell through the cracks last cycle" * 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: fs: fix indentation in deactivate_super() vfs: Remove duplicated d_mountpoint check in __is_local_mountpoint
Diffstat (limited to 'fs/super.c')
-rw-r--r--fs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/super.c b/fs/super.c
index bf3b7685b52a..904459b35119 100644
--- a/fs/super.c
+++ b/fs/super.c
@@ -361,7 +361,7 @@ EXPORT_SYMBOL(deactivate_locked_super);
*/
void deactivate_super(struct super_block *s)
{
- if (!atomic_add_unless(&s->s_active, -1, 1)) {
+ if (!atomic_add_unless(&s->s_active, -1, 1)) {
down_write(&s->s_umount);
deactivate_locked_super(s);
}