|
|
@@ -2722,7 +2722,7 @@ continue_resched:
|
|
|
F_SEAL_GROW | \
|
|
|
F_SEAL_WRITE)
|
|
|
|
|
|
-int shmem_add_seals(struct file *file, unsigned int seals)
|
|
|
+static int shmem_add_seals(struct file *file, unsigned int seals)
|
|
|
{
|
|
|
struct inode *inode = file_inode(file);
|
|
|
struct shmem_inode_info *info = SHMEM_I(inode);
|
|
|
@@ -2791,16 +2791,14 @@ unlock:
|
|
|
inode_unlock(inode);
|
|
|
return error;
|
|
|
}
|
|
|
-EXPORT_SYMBOL_GPL(shmem_add_seals);
|
|
|
|
|
|
-int shmem_get_seals(struct file *file)
|
|
|
+static int shmem_get_seals(struct file *file)
|
|
|
{
|
|
|
if (file->f_op != &shmem_file_operations)
|
|
|
return -EINVAL;
|
|
|
|
|
|
return SHMEM_I(file_inode(file))->seals;
|
|
|
}
|
|
|
-EXPORT_SYMBOL_GPL(shmem_get_seals);
|
|
|
|
|
|
long shmem_fcntl(struct file *file, unsigned int cmd, unsigned long arg)
|
|
|
{
|