bug#54287: [PATCH] Fix stat command triggering automount.

2022-03-07 Thread Rohan Sable
Stat command now internally uses statx syscall. AT_NO_AUTOMOUNT flag was not set when statx was called. This triggered the mount of autofs shares. Added AT_NO_AUTOMOUNT flag to fix this behavior. Signed-off-by: Rohan Sable --- src/stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

bug#54286: [PATCH] Fix ls -l triggering automounts.

2022-03-07 Thread Rohan Sable
e type nfs (rw,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,hard,proto=tcp,timeo=600,retrans=6,sec=sys,mountaddr=192.168.122.58,mountvers=3,mountport=20048,mountproto=tcp,local_lock=none,addr=192.168.122.58) ~~~ Added AT_NO_AUTOMOUNT flag to do_lstat to fix this behavior. Signed-off-b