]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/open.c
Merge tag 'for_v5.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs
[linux.git] / fs / open.c
index 8cdb2b675867802eb3afe7877624c1bf3ea61b4c..0788b3715731186f326a24296ed3b00ad870bb46 100644 (file)
--- a/fs/open.c
+++ b/fs/open.c
@@ -958,7 +958,7 @@ EXPORT_SYMBOL(open_with_fake_path);
 #define WILL_CREATE(flags)     (flags & (O_CREAT | __O_TMPFILE))
 #define O_PATH_FLAGS           (O_DIRECTORY | O_NOFOLLOW | O_PATH | O_CLOEXEC)
 
-static inline struct open_how build_open_how(int flags, umode_t mode)
+inline struct open_how build_open_how(int flags, umode_t mode)
 {
        struct open_how how = {
                .flags = flags & VALID_OPEN_FLAGS,
@@ -974,8 +974,7 @@ static inline struct open_how build_open_how(int flags, umode_t mode)
        return how;
 }
 
-static inline int build_open_flags(const struct open_how *how,
-                                  struct open_flags *op)
+inline int build_open_flags(const struct open_how *how, struct open_flags *op)
 {
        int flags = how->flags;
        int lookup_flags = 0;