f2fs: allow all the users to pin a file
Jaegeuk Kim
maintainerPATCH 1/1 f2fs: allow all the users to pin a file
This patch allows users to pin files.
Signed-off-by Jaegeuk Kim <[email protected]>
--- fs/f2fs/file.c | 3 --- 1 file changed, 3 deletions(-)
fs/f2fs/file.c +0 -3
@@ -2964,9 +2964,6 @@ static int f2fs_ioc_set_pin_file(struct file *filp, unsigned long arg)__u32 pin;int ret =0 ; -if (!capable (CAP_SYS_ADMIN )) -return -EPERM ; -if (get_user (pin, (__u32 __user *)arg))return -EFAULT ;
Signature · 1 line
2.19.0.605.g01d371f741-goog
Quoted 3 lines · Jaegeuk Kim
This patch allows users to pin files.
Signed-off-by Jaegeuk Kim <[email protected]>
Reviewed-by Chao Yu <[email protected]>