author: Christoph Hellwig <hch@lst.de> 2020-07-22 11:13:26 +0200
committer: Christoph Hellwig <hch@lst.de> 2020-07-31 08:17:52 +0200
commit: b873498f99c77e7b5be3aa5ffe9ca67437232fe0
parent: 4b7ca5014cbef51cdb99fd644eae4f3773747a05
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/open.c b/fs/open.c
index f62f4752bb43..49960a1248f1 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -639,7 +639,7 @@ SYSCALL_DEFINE2(chmod, const char __user *, filename, umode_t, mode)
return do_fchmodat(AT_FDCWD, filename, mode);
}
-static int chown_common(const struct path *path, uid_t user, gid_t group)
+int chown_common(const struct path *path, uid_t user, gid_t group)
{
struct inode *inode = path->dentry->d_inode;
struct inode *delegated_inode = NULL;