Skip to content

Commit

Permalink
uml: fix hostfs style
Browse files Browse the repository at this point in the history
Style fixes in hostfs.

Signed-off-by: Jeff Dike <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
cfd-36 authored and Linus Torvalds committed Oct 16, 2007
1 parent baabd15 commit 84b3db0
Show file tree
Hide file tree
Showing 3 changed files with 202 additions and 172 deletions.
9 changes: 6 additions & 3 deletions fs/hostfs/hostfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

#include "os.h"

/* These are exactly the same definitions as in fs.h, but the names are
/*
* These are exactly the same definitions as in fs.h, but the names are
* changed so that this file can be included in both kernel and user files.
*/

Expand All @@ -21,7 +22,8 @@
#define HOSTFS_ATTR_FORCE 512 /* Not a change, but a change it */
#define HOSTFS_ATTR_ATTR_FLAG 1024

/* If you are very careful, you'll notice that these two are missing:
/*
* If you are very careful, you'll notice that these two are missing:
*
* #define ATTR_KILL_SUID 2048
* #define ATTR_KILL_SGID 4096
Expand Down Expand Up @@ -76,7 +78,8 @@ extern int make_symlink(const char *from, const char *to);
extern int unlink_file(const char *file);
extern int do_mkdir(const char *file, int mode);
extern int do_rmdir(const char *file);
extern int do_mknod(const char *file, int mode, unsigned int major, unsigned int minor);
extern int do_mknod(const char *file, int mode, unsigned int major,
unsigned int minor);
extern int link_file(const char *from, const char *to);
extern int do_readlink(char *file, char *buf, int size);
extern int rename_file(char *from, char *to);
Expand Down
Loading

0 comments on commit 84b3db0

Please sign in to comment.