summaryrefslogtreecommitdiffstats
path: root/fs/autofs
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2023-09-22 12:12:11 +0800
committerChristian Brauner <brauner@kernel.org>2023-09-22 10:14:59 +0200
commit7efd93ea790ec64221458bbb0705ccba54beab0e (patch)
treee8b2d2da237a1fd20936c5cffe05f7e85962bb0f /fs/autofs
parenta7467430b4de0985b7d1de8f1e50f8dd47eb6c4a (diff)
downloadlinux-7efd93ea790ec64221458bbb0705ccba54beab0e.tar.gz
linux-7efd93ea790ec64221458bbb0705ccba54beab0e.tar.bz2
linux-7efd93ea790ec64221458bbb0705ccba54beab0e.zip
autofs: reformat 0pt enum declaration
The enum of options is only reformated in the patch to convert autofs to use the mount API so do that now to simplify the conversion patch. Signed-off-by: Ian Kent <raven@themaw.net> Reviewed-by: Bill O'Donnell <bodonnel@redhat.com> Message-Id: <20230922041215.13675-5-raven@themaw.net> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/autofs')
-rw-r--r--fs/autofs/inode.c17
1 files changed, 14 insertions, 3 deletions
diff --git a/fs/autofs/inode.c b/fs/autofs/inode.c
index 992d6cb29707..d2b333c0682a 100644
--- a/fs/autofs/inode.c
+++ b/fs/autofs/inode.c
@@ -110,9 +110,20 @@ static const struct super_operations autofs_sops = {
.evict_inode = autofs_evict_inode,
};
-enum {Opt_err, Opt_fd, Opt_uid, Opt_gid, Opt_pgrp, Opt_minproto, Opt_maxproto,
- Opt_indirect, Opt_direct, Opt_offset, Opt_strictexpire,
- Opt_ignore};
+enum {
+ Opt_err,
+ Opt_direct,
+ Opt_fd,
+ Opt_gid,
+ Opt_ignore,
+ Opt_indirect,
+ Opt_maxproto,
+ Opt_minproto,
+ Opt_offset,
+ Opt_pgrp,
+ Opt_strictexpire,
+ Opt_uid,
+};
static const match_table_t tokens = {
{Opt_fd, "fd=%u"},