projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a "nosymfollow" mount option.
[linux-block.git]
/
fs
/
statfs.c
diff --git
a/fs/statfs.c
b/fs/statfs.c
index 2616424012ea7bf4bc7f87a935466c74bb267397..59f33752c1311f040f351b4fae019e4a8ff5119c 100644
(file)
--- a/
fs/statfs.c
+++ b/
fs/statfs.c
@@
-29,6
+29,8
@@
static int flags_by_mnt(int mnt_flags)
flags |= ST_NODIRATIME;
if (mnt_flags & MNT_RELATIME)
flags |= ST_RELATIME;
+ if (mnt_flags & MNT_NOSYMFOLLOW)
+ flags |= ST_NOSYMFOLLOW;
return flags;
}