Skip to content

Commit

Permalink
vfs-make-may_umount_tree-mount-propogation-aware-checkpatch-fixes
Browse files Browse the repository at this point in the history
WARNING: 'minumum' may be misspelled - perhaps 'minimum'?
torvalds#114: FILE: fs/namespace.c:1367:
+	 * to the tree at mnt is one greater than the minumum

WARNING: function definition argument 'struct mount *' should also have an identifier name
torvalds#168: FILE: fs/pnode.h:41:
+struct mount *propagation_next(struct mount *, struct mount *);

WARNING: function definition argument 'struct mount *' should also have an identifier name
torvalds#168: FILE: fs/pnode.h:41:
+struct mount *propagation_next(struct mount *, struct mount *);

total: 0 errors, 3 warnings, 125 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

./patches/vfs-make-may_umount_tree-mount-propogation-aware.patch has style problems, please review.

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.

Please run checkpatch prior to sending patches

Cc: Ian Kent <ikent@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
  • Loading branch information
akpm00 authored and hnaz committed Dec 1, 2016
1 parent 3210bcf commit 5ebc2ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/namespace.c
Original file line number Diff line number Diff line change
Expand Up @@ -1364,7 +1364,7 @@ int may_umount_tree(struct vfsmount *m)
mnt_get_tree_refs(&mtr);
/*
* Caller holds a mount reference so minimum references
* to the tree at mnt is one greater than the minumum
* to the tree at mnt is one greater than the minimum
* references.
*/
mtr.min_refs++;
Expand Down

0 comments on commit 5ebc2ba

Please sign in to comment.