Skip to content

Commit 7efd93e

Browse files
raven-aubrauner
authored andcommitted
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>
1 parent a746743 commit 7efd93e

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

fs/autofs/inode.c

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,20 @@ static const struct super_operations autofs_sops = {
110110
.evict_inode = autofs_evict_inode,
111111
};
112112

113-
enum {Opt_err, Opt_fd, Opt_uid, Opt_gid, Opt_pgrp, Opt_minproto, Opt_maxproto,
114-
Opt_indirect, Opt_direct, Opt_offset, Opt_strictexpire,
115-
Opt_ignore};
113+
enum {
114+
Opt_err,
115+
Opt_direct,
116+
Opt_fd,
117+
Opt_gid,
118+
Opt_ignore,
119+
Opt_indirect,
120+
Opt_maxproto,
121+
Opt_minproto,
122+
Opt_offset,
123+
Opt_pgrp,
124+
Opt_strictexpire,
125+
Opt_uid,
126+
};
116127

117128
static const match_table_t tokens = {
118129
{Opt_fd, "fd=%u"},

0 commit comments

Comments
 (0)