[lkml]   [2018]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH vfs/for-next 00/18] fs_context fixes
Al Viro <> wrote:

> Egads... *If* you go for bool here, why not
> return (mnt->mnt_flags & MNT_READONLY) || sb_rdonly(mnt->mnt_sb);
> and be done with that?

Fair point; I'll do that when I get back later.


 \ /
  Last update: 2018-07-09 18:29    [W:0.214 / U:0.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site