uapi: deprecate STATX_ALL
[sfrench/cifs-2.6.git] / fs / stat.c
index 030008796479aa135964995e4fe8a1fad91ede37..a6709e7ba71d406226e4fdfef97dfe229ee8b703 100644 (file)
--- a/fs/stat.c
+++ b/fs/stat.c
@@ -70,7 +70,6 @@ int vfs_getattr_nosec(const struct path *path, struct kstat *stat,
 
        memset(stat, 0, sizeof(*stat));
        stat->result_mask |= STATX_BASIC_STATS;
-       request_mask &= STATX_ALL;
        query_flags &= KSTAT_QUERY_FLAGS;
 
        /* allow the fs to override these if it really wants to */