_do_unlink() -> vfs_unlink() -> nfs_unlink() ->
> nfs_sillyrename() -> nfs_async_unlink()
Yes, that is the code path that causes it.
V/R,
Jeffrey Mitchell
out if "dev_name" is null in ecryptfs_mount()
Signed-off-by: Jeffrey Mitchell
---
fs/ecryptfs/main.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/fs/ecryptfs/main.c b/fs/ecryptfs/main.c
index e63259fdef28..b2f6a1937d23 100644
--- a/fs/ecryptfs/main.c
+++ b/fs/ecryptfs
lower
filesystem
Signed-off-by: Jeffrey Mitchell
---
fs/ecryptfs/inode.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/fs/ecryptfs/inode.c b/fs/ecryptfs/inode.c
index 18e9285fbb4c..647afc2fd754 100644
--- a/fs/ecryptfs/inode.c
+++ b/fs/ecryptfs/inode.c
@@ -601,9 +
Move the buffer size check to decode_attr_security_label() before memcpy()
Only call memcpy() if the buffer is large enough
Signed-off-by: Jeffrey Mitchell
---
fs/nfs/nfs4proc.c | 2 --
fs/nfs/nfs4xdr.c | 5 -
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/fs/nfs/nfs4proc.c
/0x24
__vfs_getxattr+0x4e/0x70
sb_finish_set_opts+0x12c/0x240
selinux_set_mnt_opts+0x288/0x6a0
security_sb_set_mnt_opts+0x40/0x60
vfs_get_tree+0x57/0xb0
do_mount+0x742/0x9b0
__x64_sys_mount+0x89/0xc0
do_syscall_64+0x3e/0x70
- Jeffrey
Jeffrey Mitchell (1):
nfs: Fix getxattr kernel panic and m
: Jeffrey Mitchell
---
fs/ecryptfs/inode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/ecryptfs/inode.c b/fs/ecryptfs/inode.c
index e23752d..f7594b6 100644
--- a/fs/ecryptfs/inode.c
+++ b/fs/ecryptfs/inode.c
@@ -147,7 +147,7 @@ static int ecryptfs_do_unlink(struct inode
s_evict_inode();
0) | /* Unmounting eCryptFS */
--
0) trace-a-1314 => umount-1336
--
0) 2.986 us| ecryptfs_evict_inode();
On Fri, Dec 18, 2020 at 01:07:30PM -0600, Jeffrey Mitchell wrote:
> On asyn
"stat path/to/symlink/in/ecryptfs" will report "Size: 0" if
the symlink was created after the last reboot on an XFS root.
Call i_size_write() in xfs_symlink()
Signed-off-by: Jeffrey Mitchell
---
fs/xfs/xfs_symlink.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/xfs/xf
call to what ecryptfs_getattr_link() uses. The reported
size still comes from i_size_read().
V/R,
Jeffrey Mitchell
In nfs_readdir_page_filler(), reset security label buffer length before
every reuse
Signed-off-by: Jeffrey Mitchell
---
fs/nfs/dir.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index a12f42e7d8c7..5ff6af4478a5 100644
--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
e later
files a longer security label. ls will not see that file nor any that are
added afterwards, though they will exist on the backend.
- Jeffrey
Jeffrey Mitchell (1):
nfs: Fix security label length not being reset
fs/nfs/dir.c | 3 +++
1 file changed, 3 insertions(+)
--
2.25.1
e later
files a longer security label. ls will not see that file nor any that are
added afterwards, though they will exist on the backend.
In nfs_readdir_page_filler(), reset security label buffer length before
every reuse
Signed-off-by: Jeffrey Mitchell
---
v2: Added explanation from cover letter as
: Jeffrey Mitchell
---
fs/ecryptfs/inode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/ecryptfs/inode.c b/fs/ecryptfs/inode.c
index e23752d..f7594b6 100644
--- a/fs/ecryptfs/inode.c
+++ b/fs/ecryptfs/inode.c
@@ -147,7 +147,7 @@ static int ecryptfs_do_unlink(struct inode
s_evict_inode();
0) | /* Unmounting eCryptFS */
--
0) trace-a-1314 => umount-1336
--
0) 2.986 us| ecryptfs_evict_inode();
On Fri, May 08, 2020 at 09:31:33AM -0500, Jeffrey Mitchell wrote:
14 matches
Mail list logo