Searched refs:permflag (Results 1 – 1 of 1) sorted by relevance
299 int permflag; in xfs_open_by_handle() local322 permflag = hreq.oflags; in xfs_open_by_handle()323 if ((permflag+1) & O_ACCMODE) in xfs_open_by_handle()324 permflag++; in xfs_open_by_handle()325 if (permflag & O_TRUNC) in xfs_open_by_handle()326 permflag |= 2; in xfs_open_by_handle()328 if ((!(permflag & O_APPEND) || (permflag & O_TRUNC)) && in xfs_open_by_handle()329 (permflag & FMODE_WRITE) && IS_APPEND(inode)) { in xfs_open_by_handle()334 if ((permflag & FMODE_WRITE) && IS_IMMUTABLE(inode)) { in xfs_open_by_handle()340 if ( S_ISDIR(inode->i_mode) && (permflag & FMODE_WRITE)) { in xfs_open_by_handle()