mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
vfs: switch ->show_options() to struct dentry *
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
a6322de67b
commit
34c80b1d93
39 changed files with 90 additions and 91 deletions
|
|
@ -836,12 +836,12 @@ static inline void mangle(struct seq_file *m, const char *s)
|
|||
*
|
||||
* See also save_mount_options().
|
||||
*/
|
||||
int generic_show_options(struct seq_file *m, struct vfsmount *mnt)
|
||||
int generic_show_options(struct seq_file *m, struct dentry *root)
|
||||
{
|
||||
const char *options;
|
||||
|
||||
rcu_read_lock();
|
||||
options = rcu_dereference(mnt->mnt_sb->s_options);
|
||||
options = rcu_dereference(root->d_sb->s_options);
|
||||
|
||||
if (options != NULL && options[0]) {
|
||||
seq_putc(m, ',');
|
||||
|
|
|
|||
Loading…
Reference in a new issue