diff options
| author | Dave Chinner <david@fromorbit.com> | 2015-08-20 09:28:45 +1000 |
|---|---|---|
| committer | Dave Chinner <david@fromorbit.com> | 2015-08-20 09:28:45 +1000 |
| commit | aa493382cb8c5768ba452d87f175fc2aff63911d (patch) | |
| tree | 85896c37038d3f5eda1283d090eeb95ee6ec9c82 /fs/xfs/libxfs/xfs_attr.c | |
| parent | 5be203ad115c1d8294e8685253e05fcea0202e04 (diff) | |
| parent | 3403ccc0c9f069c40ea751a93ac6746f5ef2116a (diff) | |
Merge branch 'xfs-misc-fixes-for-4.3-2' into for-next
Diffstat (limited to 'fs/xfs/libxfs/xfs_attr.c')
| -rw-r--r-- | fs/xfs/libxfs/xfs_attr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/libxfs/xfs_attr.c b/fs/xfs/libxfs/xfs_attr.c index 3349c9a1e845..ff065578969f 100644 --- a/fs/xfs/libxfs/xfs_attr.c +++ b/fs/xfs/libxfs/xfs_attr.c @@ -139,6 +139,8 @@ xfs_attr_get( args.value = value; args.valuelen = *valuelenp; + /* Entirely possible to look up a name which doesn't exist */ + args.op_flags = XFS_DA_OP_OKNOENT; lock_mode = xfs_ilock_attr_map_shared(ip); if (!xfs_inode_hasattr(ip)) |
